Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have Virtual PC 2007 running Windows XP. I can access a website setup on the Virtual machine from a browser in the Virtual machine. How do I setup the virtual machine so I can access the website from a browser on the host machine. The host machine is also running WinXP.

Both host and virtual machine can ping each other via IP and computer name.

TIA rams

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

If they can ping each other then you've done most, if not all, the things you need to do.

From the host's browser, you should be able to type the IP address of the guest into the browser address bar and bring the site up. Does this not work?

share|improve this answer
    
unfortunately using the IP address or the host name does not work. –  rams Apr 16 '10 at 18:29
add comment

Like Robert said above, if you can ping both machines from one another, most of the things needed should be setup.

The key here is the availability of the port 80. My corporate supplied Virtual PC image has Windows Firewall turned off and I had to turn it on, and allow HTTP access.

You can use Advanced port scanner to scan for open ports on your virtual machines and if 80 is not open, configure the windows firewall on the virtual machine to allow port 80 access.

share|improve this answer
add comment

I had this same problem, followed advice to turn on 'bridged' connection in the network tab for VMWare Fusion, could ping between host and guest but still couldn't connect browse to my iis site.

The solution for me was to go to Windows Firewall settings in the Control Panel on the guest OS, click 'Allow a program or feature through Windows Firewall' and check World Wide Web Services (HTTP)

I can now browse through ip and via hostname (when listed in the hosts file on the host OS)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.