2
votes

I am running a webserver (eg: tomcat7) in vmplayer guest, with NAT and I am able to view the webserver from guest using it's hostname:port but host browser is unable to connect to this webserver. Any idea? Is there any specific network configuration that needs to be done for host to connect to guest?

Note: I used ifconfig and got ip address from eth8, but ping request times out all the time.

VMWARE player network settings screenshot

enter image description here

Update I also had to add entries in both machines hosts file for DNS

1

1 Answers

3
votes

Change the network settings to use Bridged. That will connect to your router and get an IP off DHCP which your Host will be able to see. NAT is using your host address.