Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

In order to check my web in IE 7, I am running Windows7 and also Windows XP under vmWare Player within Windows7.

My internet connection in vmWare is shared from the host as 'NAT' and able to see internet.

I am using XAMPP on Windows7 for developing sites. I use http://localhost/mysite to open the site under development in Windows7.

I wanted to use http://localhost/mysite to open in the Windows XP under vmWare as well.

When I browse http://localhost/mysite in IE7 in XP, I get 'Internet Explorer cannot display the webpage'.

Kindly help me with the process of how to access these sites in vmWare.

Thanks in advance.

The topic is similar to this post, How to share Ubuntu's XAMPP installation with Windows 7 running on vmWare Workstation within Ubuntu. But it did not help me.

share|improve this question

migrated from Feb 27 '11 at 7:45

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

Try hitting the IP address of the XAMPP server directly instead of localhost. Ex. Or try using the actual hostname of your Win7 computer - ex. http://win7/mysite. If that doesn't work (no name resolution) you can add an entry to your hosts file on your WinXP box that has the correct IP and hostname of your Win7 box in order to access it by name.

Also, you might want to make sure that your Win7 box's firewall isn't blocking port 80 (or whatever port you use for webdev).

share|improve this answer
What do I need to add my hosts file on your WinXP ? I added port 80 to Win7 firewall, but it still does not show. I tried but did not work either. – shinokada Feb 27 '11 at 11:49
You need to put the IP of the Win7 box. Not (that's the loopback address), but rather its actual NIC address - likely a 192.168.x.x address. But try just hitting it by IP first - only edit the hosts file once its working by IP. – ggutenberg Feb 27 '11 at 12:21
I used and it works. Thanks. – shinokada Feb 27 '11 at 12:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .