how do you run the local server i tried rails server and rails s
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.