title: How to connect to a webserver hosted on vmplayer guest os?
body: <p>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?</p>
  
  <p>Note: I used ifconfig and got ip address from eth8, but ping request times out all the time.</p>
  
  <p>VMWARE player network settings screenshot</p>
  
  <p><img src="https://i.stack.imgur.com/yZlvb.png" alt="enter image description here"></p>
  
  <p><strong>Update</strong>
  I also had to add entries in both machines hosts file for DNS</p>