views:

1344

answers:

3

I an XP laptop. I am running a Ubuntu distro inside VirtualBox which is running a website in Tomcat. When inside the VM I can access the site with http://localhost:8080/

What I really need to do though is access the VM localhost from XP. http://vm-computer-name:8080/ isnt recognized.

Any help is much appreciated.

+4  A: 

Get the IP Address of your guest OS and access it via that.

Nick
A: 

i have the same problem.. using the ip of the guest OS doesn't work.. pls help us..

Jeri
A: 

Setup your VM to run a host-only network, then reboot or restart networking to update DHCP. The IP address on the guest will now be accessible from the host.

You can also use bridged network mode, but that won't work when the host is disconnected from the network.

Jace