我更新了设备A中的vagrantfile
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network :public_network, ip: "192.168.10.121"
然后在设备B的/ etc / hosts中更新
192.168.10.121 test.localhost
然后我尝试使用浏览器'test.localhost'访问设备B,但没有结果