Fixing RotMG Socket-Server Security: Error #2048

It seems that this error message is somewhat generic, where the client is complaining that it cannot connect to the servers. There are various situations where that may be the case. One of them (as described in the error) is when the user's own network has a firewall blocking the port. Another situation that can cause this is when the RotMG servers are tits up and can't be properly reached.

In my case, I happened to be trying to play and debug this when all the servers were down. Unfortunately, the error message always blames the client.

You can check the status of the servers at this URL:
http://www.tiffit.net/RealmInfo/api/servers

If you see true, it means a server is up and working.
If you see a false, it means the server is down.