Hi,
I think problem may be your firewall setting or your subnet settings.
Please check that how you access web sites, means you are using any proxy server or anything else.
please write again problem in details , how you connect with web and any proxy server is there or any firewall is there, and subnet mask you used at different sites.
As i Think problem may be of firewall.
Best luck