Firstly, check your Internet connection. It's possible that you can't log-in due to the lack of Internet connection. Go to Start > Control Panel > Network and Internet > Network Connections. Right click the network device and disable it, then re-enable it. This should fix the problem.
Additionally, check the proxy settings of the browser you use. It's possible that there is a proxy set up and if it's down, connecting becomes impossible.