IE has no problem as when I can't open site except gmail,google, I tried to open IE safemode without addons but it doesn't work also, google chrome has same problem. Problem doesn't come all the time and come and go itself and with restart of pc.
Though I'll try.

To get the command prompt; go to start>all programs>accessories>command prompt and right click, then click on "open as adminstrator"

First:
1. right click on the cmd prompt and open as administrator
2. at the command line type "netsh winsock reset"
3. Reboot.

If that didn't do it, then:
1. right click on the cmd prompt and open as administrator
2. at the command line type "netsh int ip reset resetlog.txt"
3. Reboot.

Next:
1. right click on the cmd prompt and open as administrator
2. at the command line type "sfc /scannow"
3. Let it scan. Hopefully it will come up clean.and network which I already tried but not from command promt.

If this all fails try turning off your firewall and A/V, then try to load a page; and if, that does not do it... I have a couple of other ideas.

Click to expand...

Reboot itself solves problem bit it recurr again sometime and not sometime.
So 1& 2 no use I think so, and it seems to reset ip.

3rd I've done, is it for fixing media center too bcz I found same on Microsoft blog for media center repair.

Tried av and firewall disable when thus happens but it doesn't solves problem.
But y it open google, gmail and some few more sites and not others (not everytime, happens once in 1 hour mostly) and if I wait for 10-15 min rather than reboot, it got solved sometimes and recurr again.