[VirtualBox]Linux host访问guest服务

VirtualBox的guest一般默认为使用NAT,这样host就不能ping guest或者是访问guest的服务。一种解决办法是把guest的网络设置从NAT改成Bridged Adapter。另一种方法则是为guest新加一个Host-only Adapter,如下图:

设置好,,启动guest,为guest新加的Apapter设置ip,例如192.168.56.2,因为host端的ip一般会被自动设为192.168.56.1。

要永不言弃坚持到底百折不挠宁死不屈,但我们好多人没想过,

[VirtualBox]Linux host访问guest服务

相关文章:

你感兴趣的文章:

标签云: