First off, this should be in the HELP section, post it there next time
Make sure the game is running with administrative permissions and is not being blocked from communications by your antivirus programs and that the internet you are using is not restricted (such as a public school WiFi channel)