Ask A Question


You’re not receiving notifications from this thread.

Rails stopped listening on localhost

Don Neethling asked in Rails
I am a novice rails user, I have been plodding along without too much trouble until today.
I use a Mac (just stating that in case my environment needs to be considered)
After creating a new rails app and running bin/rails s I would usually be greeted by the following

don9000:apple donovanneethling$ bin/rails s
=> Booting Puma
=> Rails 5.2.0 application starting in development 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.11.4 (ruby 2.4.1-p111), codename: Love Song
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://
Use Ctrl-C to stop

except to would reflect that it was listening on localhost instead of

I was busy coding when this changed all of a sudden
Nothing loads when I try to browse to

I recall having the same issue a while ago and realised I was running rails -s instead of bin/rails -s but in this case I experience the same regardless of the command that I run

please advise


What does the log say if you load the page in the browser?
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 83,038+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.