Microsoft KB Archive/825350

= You cannot open Mac Web Sharing pages from a virtual machine by using http://127.0.0.1 or http://localhost =

Article ID: 825350

Article Last Modified on 2/16/2005

-

APPLIES TO


 * Connectix Virtual PC for Mac 6.0
 * Microsoft Virtual PC for Mac Version 6.1
 * Microsoft Virtual PC for Mac Version 6.1.1 Update
 * Microsoft Virtual PC for Mac Version 7 with Microsoft Windows 2000 Professional
 * Microsoft Virtual PC for Mac Version 7 with Microsoft Windows XP Home Edition
 * Microsoft Virtual PC for Mac Version 7 with Microsoft Windows XP Professional

-





SYMPTOMS
You cannot open your Mac Web Sharing pages from a virtual machine by using http://127.0.0.1 or http://localhost. If you type http://127.0.0.1 or http://localhost in the address bar of Microsoft Internet Explorer in the virtual machine, you receive the following error message:

The page cannot be displayed

Your Mac Web Sharing page on the host Mac operating system does not open.

Note The Mac OS X Sharing pane in System Preferences allows you to configure a personal Web site on an intranet or on the Internet. For more information, see the &quot;Web Sharing&quot; topic in your Mac OS documentation.



CAUSE
This issue occurs because the Web browser looks for a Web page on the virtual machine instead of on the Mac host operating system when you use http://127.0.0.1 or http://localhost on the virtual machine as the name of the Web server. Localhost is the TCP/IP loopback name, and http://127.0.0.1 is the loopback IP address for the local computer (the virtual machine that you are using).



WORKAROUND
To work around this problem, use the IP address that is supplied by the host Mac operating system to open your Mac Web Sharing pages. To find this IP address, open the Sharing pane in System Preferences and note the IP Address that is above Used for Web Sharing, FTP, other IP-based services.

For example, type http:// in the address bar of Microsoft Internet Explorer, where  is the IP address that appears in the Sharing pane in System Preferences.

For more information about how to configure the Web Server feature in Mac OS X, see your Mac OS documentation.

Keywords: kbprb KB825350

-

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

© Microsoft Corporation. All rights reserved.