VMWare workstation network – Connection to guest from host

vmware-workstation

i have an xp virtual machine in VMWare
It's configured for bridged network connection

In the office (or anywhere else for that matter) I can enter the IP address of the XP guest in the browser on the host and get the default application homepage.

Currently, I'm in a hotel with free wifi access.
To get the wifi, you need to enter a password.

When connected here, i can't get the default homepage of my app.
I can still ping the guest ip address from the host, but not use the application on here.

What settings do i need?

Best Answer

You need to set up host-only or NAT networking. If your host is Windows, you can run ipconfig to see the network information of the VMware virtual adapters. One of them will be the host-only adapter and one will be the NAT adapter. Each runs a DHCP server that will provide an IP address to your your VM if it asks for one. Generally, they will be 192.168.xxx.0/24, with "xxx" being a random unused (on the network that your NIC was connected to at the time you installed VMware) network.

It's simple to do, just configure the VM (you can do this while it's running) and change the network adapter from bridged to one of the other two. Then release / renew the IP in the VM and you should have what you need.