作者kiey (炼)
看板Ruby
标题[问题] vagrant homestead rails start
时间Wed May 8 23:31:24 2019
想请问大大们是否有在 vagrant homestead 里面用 rails start
vagrant@homestead:~/code/ruby/NewProjectName$ rails s
=> Booting Puma
=> Rails 5.2.3 application starting in development
=> Run rails server -h for more startup options
Puma starting in single mode...
* Version 3.12.1 (ruby 2.6.0-p0), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
现在找不方法 让 windows 可以连到 192.168.10.10:3000
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 114.39.241.250
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Ruby/M.1557329486.A.DCC.html
1F:→ MickPlaYer: 可能是bind没设定好 05/09 19:53
2F:→ MickPlaYer: 可以加上 '-b 0.0.0.0' 或改puma设定档试看看 05/09 19:53