我在ubuntu的vmware中运行webrick默认ROR服务器。我的主机窗口为Window 10.,但在Window 10浏览器中,我无法访问0.0.0.0:3000。我在Rails代码上有ruby,如何在我自己的机器服务器中托管? 在window10浏览器中,我收到类似以下错误: [错误] [1]
[VMware和真实主机IP快照] [2]
puma.rb
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
threads threads_count, threads_count
port ENV.fetch("PORT") { 3000 }
environment ENV.fetch("RAILS_ENV") { "development" }
# Specifies the `pidfile` that Puma will use.
pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
plugin :tmp_restart
[1]: https://i.stack.imgur.com/N65uJ.png
[2]: https://i.stack.imgur.com/At2Rz.png