简体   繁体   中英

Rails Server working in command line. Not at Localhost

rails server

=> Booting Puma

=> Rails 5.2.0 application starting in development

=> Run rails server -h for more startup options

[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

went to http://www.localhost3000.org/

says you forgot to start your server

Running
Rails 5.2.0
Postgesql 9.6

It looks like http://www.localhost3000.org/ is a website that someone bought to help you when you mistype your attempt to get to your localhost. It's not your own server responding

As the website suggests, try to go instead to http://localhost:3000

Use this address localhost:3000 . The link you included is a live website someone has published as a reminder to start your server.

使用此地址http://localhost:3000但是您仍然可以编辑您的URL,请按照以下文章进行操作: 编辑localhost

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM