Problems Using Internet Explorer with Incorrect Hosts File

ID: Q219843


The information in this article applies to:
  • Microsoft Internet Explorer versions 2.0, 3.0, 3.01, 3.02, 4.0, 4.01, 4.01 Service Pack 1,5 for Windows 95
  • Microsoft Windows 98
  • Microsoft Internet Explorer version 5 for Windows 98


SYMPTOMS

When you try to connect to a Web site using Internet Explorer, you may experience one or more of the following symptoms:

  • You may receive one or more of the following error messages:
    • Internet Explorer cannot open the Internet site Web address. A connection with the server could not be established.


    • Internet Explorer cannot open the internet site URL: Web site the connection to the server was reset.




  • Internet Explorer may display a different Web site than the one you specify in the Address box.



CAUSE

This behavior can occur if a Hosts file with incorrect entries exists in the Windows folder.


RESOLUTION

To work around this behavior, use the appropriate method:

Method 1

NOTE: Do not perform the following steps unless you determine that your computer does not need a Hosts file. To determine if you need a Hosts file, contact your network administrator.

If your computer is not connected to a network, or does not require a Hosts file for Domain Name System (DNS) resolution, rename the Hosts file to "Backup of Hosts file". To rename a file, right-click the file, type the new name, and then press ENTER.

NOTE: Do not perform the following steps without contacting your network administrator.

Method 2

If your computer is connected to a network that requires a Hosts file, edit the Hosts file and disable all lines that refer to the Web site Internet Protocol (IP) addresses you are unable to view. To do so, place a number sign (#) at the beginning of each line that contains the IP address of the Web site you are unable to view.


MORE INFORMATION

For information about Hosts files and DNS, please see the following article in the Microsoft Knowledge Base:

Q143193 Internet Explorer Name Resolution

Additional query words: 2.00 3.00 4.00 5.0 5.00

Keywords : kberrmsg kbnetwork kbui msiew95 msient win98 msiew98
Version : WINDOWS:2.0,3.0,3.01,3.02,4.0,4.01,4.01 Service Pack 1,5,5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: May 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.