If you are running a virtual machine on your computer, you may want to access that virtual machine from another computer. Let’s use an example: Say you have an Ubuntu virtual machine with Apache running on port 80, and you want to show other people on your network to access the website you are hosting.
如果您在计算机上运行虚拟机,则可能要从另一台计算机访问该虚拟机。 让我们举个例子:假设您有一个在80端口上运行Apache的Ubuntu虚拟机,并且想让网络上的其他人访问您托管的网站。
We’re going to assume that the virtual machine is using NAT, and has been assigned an IP address of 192.168.23.128.
我们将假设虚拟机正在使用NAT,并且已分配IP地址192.168.23.128。
First open the Manage Virtual Networks start menu item:
首先打开“管理虚拟网络”开始菜单项:

Click on the NAT tab, and then click on Edit. You will see the NAT Settings dia