×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Internet

Why can I PING but not browse? by ITschoolGuy
Posted: 28 Oct 03 (Edited 28 Oct 03)

This could have to do with a corrupted Windows Sockets (WINSOCK) interface.  WINSOCK is one of two APIs (Application Programming Interfaces) used by Windows 98 to gain access to resources on a network; the other one being NetBIOS.

WINSOCK components essentially operate "on top of" your network communications protocols (TCP/IP) and physical network hardware. So, when there is WINSOCK corruption it is possible to remain physically connected to the Inernet and even be able to PING public IP addresses.  However, you will be unable to access websites by their fully qualified names.  For example if you attempt to PING the name www.yahoo.com, you will be unsuccessful but you will be able to PING its corresponding IP address of 216.109.118.74.

Assuming that all of your other TCP/IP settings are correct (especially DNS entries) and that you do not have a firewall blocking port 80, it is possible that the WINSOCK component on your PC is indeed corrupted.  If so, it can be repaired using the following procedure:

Use the Add/Remove Programs icon in Control Panel...click the Windows Setup tab...select "Communications" from the list.  Uninstall Dial-Up Networking and any other dependant components.  Do not yet reboot even if you are prompted to.  Next run the registry editor (REGEDIT.EXE)...make a backup copy of your registry...then delete the following keys:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\AFVXD

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\Winsock

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\Winsock2

Close the registry editor.  Now use Find | Files and Folders from your Start menu and search for the file WINSOCK.DLL.  When you find it, rename it to WINSOCK.ASI.  Now reboot your PC.  Go back to Control Panel | Add/Remove Programs...hit the Windows Setup tab and re-install Dial-Up Networking.  Reboot when prompted.

You should now be able to access websites by their fully qualified names as well as by IP address.

Back to Microsoft: Windows FAQ Index
Back to Microsoft: Windows Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close