本文介绍了从主机操作系统访问来宾VirtualBox VM的Tomcat localhost:8080的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台XP笔记本电脑,我在VirtualBox上运行一个Ubuntu发行版,而VirtualBox通过Tomcat运行一个网站.在虚拟机中时,我可以使用localhost:8080/

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/

不过,我真正需要做的是从XP访问VM本地主机. vm-computer-name:8080/无法识别.

What I really need to do, though, is to access the VM localhost from XP. vm-computer-name:8080/ isn't recognized.

非常感谢您的帮助.

推荐答案

获取来宾操作系统的IP地址并通过该IP地址进行访问.

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

这篇关于从主机操作系统访问来宾VirtualBox VM的Tomcat localhost:8080的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-05 10:16