看板 Ruby 關於我們 聯絡資訊
想請問大大們是否有在 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://www.ptt.cc/bbs/Ruby/M.1557329486.A.DCC.html
MickPlaYer: 可能是bind沒設定好 05/09 19:53
MickPlaYer: 可以加上 '-b 0.0.0.0' 或改puma設定檔試看看 05/09 19:53