How to Start Rails Server?

how do you run the local server i tried rails server and rails s


Hi @system7535659680,

What was the result of those commands? If you type rails server in the terminal and press Enter, the server should start.

I’ve been having the same problem. In the Ruby on Rails Lessons, the server always works (those use port 8000). In the Projects, the server sometimes doesn’t work (port 4001). I had to reload the page and try the first few steps several times before the server worked.

Another issue with rails server is that if I have to refresh the page for some reason, or I temporarily get disconnected from CC’s server, I am no longer able to start a rails server. I have had to then reset rails projects and start over if I want to preview the app.

This is the terminal output:

What happens it the server doesn’t start?

My server also doesn’t work. In broadway project it started only once and in Bolt Network not at all. A little bit frustrating beacuse i can’t see if i do everything right.