Microsoft KB Archive/290766

= &quot;Page Cannot be Displayed&quot; or &quot;Web Page Unavailable Offline&quot; When You Browse to Http://Localhost =

Article ID: 290766

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q290766



SYMPTOMS
When you try to browse to http://localhost, Microsoft Internet Explorer may prompt you to &quot;Work Offline&quot; or &quot;Try Again.&quot; If you click Work Offline, you may receive an &quot;Web page unavailable offline&quot; message, and if you click Try Again, you may receive a &quot;Page cannot be displayed&quot; message.



CAUSE
Internet Explorer searches for an Internet connection before it attempts to serve local Web pages. This behavior is by design.



WORKAROUND
Install a valid Network Adapter and Network Connection.



MORE INFORMATION
If a Network Adapter is not available, you can use Microsoft Loopback adapter. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

236869 How to Install Microsoft Loopback Adapter in Windows 2000

To create a Network Connection for use with Microsoft Loopback Adapter, do the following:
 * 1) Right click My Network Places, and then click Properties.
 * 2) Double-click Make New Connection, click Connect to Private Network through the Internet, and then click Next
 * 3) For the Host name or IP address, type HTTP://Localhost.
 * 4) Make the connection for Yourself or Everyone, and then click Next.
 * 5) Name the connection (for example, &quot;Test VPN&quot;).
 * 6) Click Finish, and then click Cancel.

If your computer is running Microsoft Windows 2000 Professional Edition, you also need to follow these steps:
 * 1) On the desktop, right-click My Network Places, click Properties, and then double-click Make New Connection.
 * 2) Select Connect to Private Network through the Internet and click Next.
 * 3) Select Automatically dial this initial connection and click Next.
 * 4) For Host name or IP address, type HTTP://Localhost.
 * 5) For Create this connection, select either For all users or Only for myself and click Next.
 * 6) Name the connection Test VPN and click Finish.
 * 7) (In the Connect Test VPN dialog box)Click Cancel.
 * 8) Right-click Internet Explorer, click Properties, and then click Connections.
 * 9) Select Test VPN.
 * 10) Select Dial whenever a network connection is not present.
 * 11) Click Set default and click OK.
 * 12) Click OK.
 * 13) Start Internet Explorer and browse to http:\\localhost.

Additional query words: iis 5 iis5 ie5

Keywords: kbprb kbpending KB290766

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.