Solution: Connected to Internet but Cannot Browse Websites

Filed in: Tips — January 5th, 2008

Few days ago, a friend brought his laptop to me to troubleshoot a weird problem. His laptop (Windows XP SP2) was connected to Internet, but could not surf any website.

Every installed software also could not access to Internet, such as antivirus online update, windows live messenger, etc. However, the PING command works on Command Prompt!

At first, I suspected one or more related windows services were turned off, but they looked fine after checking.

No clue. I searched Internet for the solution (using my Mac). After reading some forum posts by others, I suspected the problem was caused by corrupted Winsock2, which is used by windows network software to access network services.

Finally, I found the tutorial to repair Winsock2 corruption at Microsoft Support. If you are using Windows XP Service Pack 2, it only takes a command to report Winsock2:

type netsh winsock reset at the command prompt

After that, restart your computer and Winsock2 shall be fixed. It works for my friend’s laptop and he looked at me amazingly. ;)

For Windows XP without SP2, it takes more steps to repair Winsock2. You can get the step-by-step instruction on the Microsoft Support.

Like this post? Please share:

Follow @liewcf on Twitter; Join Facebook page; Subscribe to free newsletter for updates like this article..

  • http://www.goalcentre.com/ goalcentre.com

    I have that problem occasionally. How do you handle this problem? Very simple just On and Off your ADSL Modem/ Router then restart your computer. Walla.. you can connect to the internet and browse your favorite websites. :) Hope it helps

  • http://www.goalcentre.com goalcentre.com

    I have that problem occasionally. How do you handle this problem? Very simple just On and Off your ADSL Modem/ Router then restart your computer. Walla.. you can connect to the internet and browse your favorite websites. :) Hope it helps

  • abeku

    I have the problem before, i just on and of the ADSL modem also and then it ok. It is pretty weird you have to repair up to winsock. Anyway, it is very valuable info. Happy New Year

  • http://www/slr-d.com abeku

    I have the problem before, i just on and of the ADSL modem also and then it ok. It is pretty weird you have to repair up to winsock. Anyway, it is very valuable info. Happy New Year

  • http://www.my-inspirational-quotes.com/ Quote Mania

    Thanks to the internet – the solution of even the rarest prob can be within a couple of clicks.

    I had a similar situation with a friends laptop before and he thought I was a genius. Nope – I just googled the problem.

  • http://www.my-inspirational-quotes.com Quote Mania

    Thanks to the internet – the solution of even the rarest prob can be within a couple of clicks.

    I had a similar situation with a friends laptop before and he thought I was a genius. Nope – I just googled the problem.

  • http://www.itrush.com/ ITrush

    Cool, nice tip there goalcentre, thanks also for sharing the link to “repairing winsock2 corruption” tutorial LiewCF.

  • http://www.itrush.com ITrush

    Cool, nice tip there goalcentre, thanks also for sharing the link to “repairing winsock2 corruption” tutorial LiewCF.

  • http://www.darulmakmur.net/ DM

    streamyx now have new ip block which the numbers are start from 124.x and 118.x addition to the 219.x, 218.x and 6something.x Most of the time if u connect internet and assigned to 124.x ip, probably u cant surf and must reconnect . I’m having this prob recently but now its ok already :)

  • http://www.darulmakmur.net DM

    streamyx now have new ip block which the numbers are start from 124.x and 118.x addition to the 219.x, 218.x and 6something.x Most of the time if u connect internet and assigned to 124.x ip, probably u cant surf and must reconnect . I’m having this prob recently but now its ok already :)

  • http://techmalaya.com/ Syahid A.

    Nice tip Liew. Or you can have a Live Linux cd handy so you can use it to boot Linux and test if you can went online. That already eliminates hardware problem (network card, etc.)

  • http://techmalaya.com Syahid A.

    Nice tip Liew. Or you can have a Live Linux cd handy so you can use it to boot Linux and test if you can went online. That already eliminates hardware problem (network card, etc.)

  • http://www.icalvyn.com/ iCalvyn

    some how, just few command to fix the problem, people will look us as Expert, but actually…. we just know some thing more then them ;)

  • http://www.icalvyn.com iCalvyn

    some how, just few command to fix the problem, people will look us as Expert, but actually…. we just know some thing more then them ;)

  • http://www.wireless-thing.com/2008/01/05/the-network-card-is-active-but-computer-won%e2%80%99t-connect-to-the-internet/ santosh

    You might want to try the tips here next time

  • http://www.wireless-thing.com/2008/01/05/the-network-card-is-active-but-computer-won%e2%80%99t-connect-to-the-internet/ santosh

    You might want to try the tips here next time

  • http://www.home-network-help.com/ picohat from home network

    You might take a look on this simple program as well to solve your weird XP networking problem. Similar concept, but with GUI.. :o )

    Using WinSockFix to Fix Windows XP Networking Problem
    http://www.home-network-help.com/winsockfix.html

  • http://www.home-network-help.com picohat from home network

    You might take a look on this simple program as well to solve your weird XP networking problem. Similar concept, but with GUI.. :o )

    Using WinSockFix to Fix Windows XP Networking Problem
    http://www.home-network-help.com/winsockfix.html

  • http://www.goalcentre.com/ goalcentre.com

    I am a noob in all this thing. Just learn along the way and pick up whatever i can learn. That’s about all. :)

  • http://www.goalcentre.com goalcentre.com

    I am a noob in all this thing. Just learn along the way and pick up whatever i can learn. That’s about all. :)

  • http://hardwaretechreview.com/ Hardware Tech Review

    Cool tips from liewcf and goalcentre. I remember that I had this problem 2 years ago on my XP. I reinstall the Windows to solve the problem. LOL!

  • http://hardwaretechreview.com Hardware Tech Review

    Cool tips from liewcf and goalcentre. I remember that I had this problem 2 years ago on my XP. I reinstall the Windows to solve the problem. LOL!

  • http://AhTim.com/ AhTim

    As normal, Windows always give us “weird” problem :)

    –blog for dream–

  • http://AhTim.com AhTim

    As normal, Windows always give us “weird” problem :)

    –blog for dream–

  • http://www.goalcentre.com/ goalcentre.com

    Serious Hardware Tech Review? :) Like that i guess you must have installed your windows hundred if not thousands of times? lolx!

  • http://www.goalcentre.com goalcentre.com

    Serious Hardware Tech Review? :) Like that i guess you must have installed your windows hundred if not thousands of times? lolx!

  • Vahid

    Thanks for the solution. :)

  • Vahid

    Thanks for the solution. :)

  • http://www.aprilcherrie.com/ aprilcherrie

    wow.. that’s cool… it really works for my sis’s computer too.. hehehe.. thanks liewcf

  • http://www.aprilcherrie.com aprilcherrie

    wow.. that’s cool… it really works for my sis’s computer too.. hehehe.. thanks liewcf

  • LcF

    @aprilcherrie: glad that the tip helped you :)

  • LcF

    @aprilcherrie: glad that the tip helped you :)

t