Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Generate a Rails Application

rails s -b 0.0.0.0 works but not bin/rails server??

After creating odot and going through the version video I was not able to access localhost:3000. It said No data Received ERR_EMPTY_RESPONSE when typing

bin/rails server

in terminal. Quick google search and I tried

rails s -b 0.0.0.0

instead and it worked. Is that okay? What could be the problem?

3 Answers

Rachelle Wood
Rachelle Wood
15,360 Points

I can't answer your question fully, but I managed to get it working by going into the bin folder and typing rails server.

if bin/rails server is not working , just put : ruby bin\rails server it should work

'rails s' is working.