[英]Rails Server working in command line. Not at Localhost
rails server
=>引導彪馬
=> Rails 5.2.0應用程序正在開發中
=>運行rails server -h
獲得更多啟動選項
[44266] Puma starting in cluster mode...
[44266] * Version 3.6.2 (ruby 2.5.1-p57), codename: Sleepy Sunday Serenity
[44266] * Min threads: 5, max threads: 5
[44266] * Environment: development
[44266] * Process workers: 1
[44266] * Preloading application
[44266] * Listening on tcp://localhost:3000
[44266] Use Ctrl-C to stop
[44266] - Worker 0 (pid: 44286) booted, phase: 0
^C[44266] - Gracefully shutting down workers...
[44266] === puma shutdown: 2018-06-12 14:28:53 -0500 ===
[44266] - Goodbye!
Exiting
去了http://www.localhost3000.org/
說你忘了啟動服務器
Running
Rails 5.2.0
Postgesql 9.6
看起來http://www.localhost3000.org/
是一個網站,有人在您輸錯訪問本地主機的嘗試時購買了該網站以幫助您。 不是您自己的服務器響應
如網站所建議,嘗試改為轉到http://localhost:3000
使用此地址localhost:3000
。 您包含的鏈接是有人發布的實時網站,以提醒您啟動服務器。
使用此地址http://localhost:3000
但是您仍然可以編輯您的URL,請按照以下文章進行操作: 編輯localhost
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.