Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 127.0.0.1 address.

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

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

share|improve this question

2 Answers 2

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.

share|improve this answer
    
Thanks for the answer. I'm newbie in network. I changed "NAT" to "Bridged" in xp vmware setting...But I cannot access to 127.0.0.1 form XP yet... –  user2726957 Mar 13 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 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 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 at 17:37

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 127.0.0.1 from the virtual machine. You need to set the server to one of the other external host adresses like 192.168.1.0/24 in a subnet that is shared with the guest.

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.