Does your router have a firewall, because if so, then your connection might be getting blocked.
Try to turn off any firewall and try to go online again.
I had this problem a while ago, turned out to be a routing issue with my ISP, try pinging or running tracert to one of the servers and see what response you get back.