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
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?
Rachelle Wood15,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.