Access Tomcat localhost:8080 of guest VirtualBox VM from Host OS
问题 I have an XP laptop on which I am running an Ubuntu distro inside VirtualBox which is running a website via Tomcat. When I am in the VM I can access the site with localhost:8080/ What I really need to do, though, is to access the VM localhost from XP. vm-computer-name:8080/ isn't recognized. Any help is much appreciated. 回答1: Get the IP Address of your guest OS and access it via that. 回答2: Setup your VM to run a host-only network, then reboot or restart networking to update DHCP. The IP