Solution: Connected to Internet but Cannot Browse Websites

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.

winsock2, tips, windows, winxp

Share this:
  • 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

  • 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.

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

  • 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 πŸ™‚

  • 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.)

  • 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 πŸ˜‰

  • santosh

    You might want to try the tips here next time

  • 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

  • I am a noob in all this thing. Just learn along the way and pick up whatever i can learn. That’s about all. πŸ™‚

  • 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!

  • AhTim

    As normal, Windows always give us “weird” problem πŸ™‚

    –blog for dream–

  • 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. πŸ™‚

  • 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 πŸ™‚