I have windows 8.1 installed and I am running VMware worksation with XP as the guest OS.

I am a web developer and I installed a webserver(wampserver/php/apache) on The win 8.1 I can reach to my website by address.

Now...How can I reach to my website (on localhost on win 8.1 with in XP os?

I can connect to internet on xp os but not working.

| |

look into the IP mapping of the virtual networks.

In the toolbar of workstation, there is somewhere an option to configure virtual networks.

The virtual adapters subnets are set there. The x.x.x.1 of those networks points to the host if its a host only network or a bridge.

You can not connect to from the virtual machine. You need to set the server to one of the other external host adresses like in a subnet that is shared with the guest.

| |

You probably want to give the guest OS it's own IP by changing the VMware's network setting for that guest host from the default "NAT" to "Bridged". Then your VM XP will be able to use the Win 8.1's actual IP address as if it were just another box on your LAN.

| |
  • Thanks for the answer. I'm newbie in network. I changed "NAT" to "Bridged" in xp vmware setting...But I cannot access to form XP yet... – user2726957 Mar 13 '14 at 22:17
  • Right, because that means to stay within the local machine (XP, not the host). Get the address from your Win8.1 (in a terminal window, type "ipconfig" to get it's address) and then use that address in the WinXP to get to the host's webserver. – jdh Mar 13 '14 at 22:21
  • unfortunatly I couldn't do it. I taked a pic form setting and IP config...i57.tinypic.com/29c6j4l.png – user2726957 Mar 13 '14 at 22:37
  • Do you have an exception in your host's firewall to accept the port you are using for apache? (Typically 80). Check if you can reach the host from another machine on that local network. – jdh Mar 14 '14 at 17:37

You cannot.

Localhost is local to each host.

YOu have:
A win 8 host (with webserver) with its own loopback.
A win XP guest with its own loopback.

These two are not the same. And in many cases (e.g. windows) they are coded to never reach an real outside network. They cannot communicate with each other.

If you want to communicate then bind your webserver to a different IP.

| |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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