已经在 Vagrant 配置文件中加了以下配置: config.vm.network "private_network", ip: "192.168.68.68"
config.vm.network "private_network", ip: "192.168.68.68"
补充:
试试看 bundle exec rails server -b0.0.0.0
@teddy 可以访问到了。谢谢。请问-b0.0.0.0 是什么意思
#3 楼 @zhufengxiangxyz https://en.wikipedia.org/wiki/0.0.0.0