我无法连接到localhost:3000(尝试时,它将我定向到Google SERP-服务器日志显示以下内容),但无法连接到localhost:3001
=> Booting Puma
=> Rails 5.2.1 application starting in development
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.12.0 (ruby 2.5.1-p57), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
当sudo nano / etc / hosts时,它显示127.0.0.1 localhost
127.0.0.1:3000可以工作
我哪里出错了?
这是我第一次发生。
当我尝试
wget http://0.0.0.0:3000
--2018-09-24 01:46:21-- http://0.0.0.0:3000/
Connecting to 0.0.0.0:3000... failed: Connection refused.