0
我無法打開http://localhost:3000。無法打開http:// localhost:3000 - 爲什麼?
如果是相關的,這裏是rail s
命令:
Jonass-MBP:first Money$ rails s
=> Booting WEBrick
=> Rails 4.2.6 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2016-09-16 02:31:51] INFO WEBrick 1.3.1
[2016-09-16 02:31:51] INFO ruby 2.3.1 (2016-04-26) [x86_64-darwin15]
[2016-09-16 02:31:51] INFO WEBrick::HTTPServer#start: pid=8906 port=3000
你的瀏覽器說什麼?您是否在瀏覽器中嘗試過'rails s --port 3001'並激發了'http:// localhost:3001'? – araratan