[英]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.