Ruby on rails 端口3000上未连接轨道
我无法连接到localhost:3000(当我尝试时,它将我指向Google SERP-服务器日志显示如下),但localhost:3001Ruby on rails 端口3000上未连接轨道,ruby-on-rails,Ruby On Rails,我无法连接到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 (ru
=> 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.
您能否尝试使用以下命令启动rails服务器:
$ bundle exec rails server -b 0
然后去