If, like me, you're a little peeved by the delay to be told you can't connect to Bioware's server when trying to log into Layo following Bioware's removal of their service, then here's a solution that works for me on a Windows based machine and following on from Scriptwrecked's first post on the topic
First of all, find the hosts file on your Windows PC: it is usually stored in the folder C:\\Windows\\System32\\drivers\\etc
Open the file in Notepad or Notepad 2 or any other text editor and scroll to the bottom of the file. You should see several lines that start with a #
Go to the end of this file and start a new line then add these lines to the file (and you may already have the first line as per Script's first post)...
Save the file, making sure you DO NOT add an extension to the file such as .txt, .doc or anything else.
If the file won't save to the original folder, save it to your desktop, without an extension, and then copy and paste the file on the desktop to the original folder and overwrite the original file. You may have to provide administrator rights to do this in later versions of Windows.
Now when you try to play Layo, you will still get the message saying Connection failed, try another Nick, but it appears right away and you can happily click Cancel and then connect to Layo.