Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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

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

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.
{"cc_re__cc_re__cc_by_sa_3_0": ["                    <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2016 Stack Exchange Inc; user contributions licensed under <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2016.4.29.3525\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Server Fault works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r\n    </noscript>\r\n\r\n    <s"], "copyright__copyright__copyright": [" 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)\n\nI can now browse through ip and via hostname (when listed in the hosts file on the host OS)\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}