Err Msg: A Connection with the Server Could Not be Established

Article translations Article translations
Article ID: 220173 - View products that this article applies to.
This article was previously published under Q220173
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
Expand all | Collapse all


When you attempt to open http://localhost or the product documentation using Internet Explorer on a computer running Internet Information Server (IIS) versions 4.0 or 5.0, one of the following error messages occurs:
Internet Explorer cannot open the Internet site http://localhost/.
A connection with the server could not be established
Internet Explorer cannot open the Internet site http://localhost/iisHelp/iis/misc/default.asp.
A connection with the server could not be established


The default Web site has been assigned to use a particular IP address.

This change may modify or even prevent proper access to some of the functionality that a standard IIS installation makes available through the default (All Unassigned) setting. This change may also disable additional functionality that depends on the IIS default setting.

The IIS default setting permits proper access to the default Web site through the locally predefined resolution of the host name "localhost". Whenever TCP/IP is installed, "localhost" is associated with the IP address, as defined from within the %SystemRoot%\System32\drivers\etc\HOSTS file (for Microsoft Windows NT and Microsoft Windows 2000), or the %windir%\HOSTS file (for Microsoft Windows 95 and Microsoft Windows 98). However, changing the association to this file is not enough to permit proper access to the default Web site.


Change the default Web site to use (All Unassigned) IP addresses. To do this, perform the following steps:
  1. Start the Internet Service Manager (ISM), which loads the Internet Information Server snap-in for the Microsoft Management Console (MMC).
  2. Right-click the default Web site folder, and then click Properties.
  3. On the Web Site tab, click the IP Address drop-down list box, and then click (All Unassigned).
  4. Click OK.
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Kevin Zollman, Microsoft Corporation.


Article ID: 220173 - Last Review: June 23, 2005 - Revision: 3.3
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from