Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Rails stopped listening on localhost

Rails • Asked by Don Neethling
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?

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.