accessing wamp server from vmware player NAT machine from host
Posted by: daza166 (---.8-3.cable.virginmedia.com)
Date: February 28, 2012 06:41PM

Hello,
I have installed VMware player 4.0.2 on my host pc (Win 7). I have created a NAT network on VMnet8 adapter using Virtual Network Editor:

Subnet Add - 10.0.0.0
Subnet Mask - 255.255.255.0
Gateway - 10.0.0.2
My VMware machine (Win XP with WAMP server) IP add - 10.0.0.128
Port Forwarding - 10.0.0.128:5000

Using those NAT settings I run a Virtual machine being Win XP (with a Wamp server). This XP VM machine runs fine can access the Internet through the 10.0.0.0 subnet. However, how do I access that WAMP server from my host pc (192.168.0.101)?

I tried putting the URL of the VM machine in browser (http://10.0.0.128:5000) as I thought port forwarding will let me view the WAMP server running in the Virtual machine from my host pc (192.168.0.101?

What I am trying to do is create two different networks or trick the browser into assuming that i.e. my host pc on (192.168.0.0) and the VMware player XP machine with WAMP server (10.0.0.0) network. I am trying to demonstrate the SOP policy as I have a WAMP server also on my host pc (192.168.0.101) which will try to run a (script src='') from the VMware machines WAMP (10.0.0.128).

Any ideas how this is achieved? Thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.