Rails app site can't be reached error


When starting my rails app using the
rails s -p $PORT -b $IP command I get a site can’t be reached page. I’ve tried using different ports and that doesn’t help. Any suggestions on troubleshooting?


are you running this in a bash terminal or in the app runner?

if in the app runner try changing the runner from “ruby” to “shell command”.


I’m having the exact same issue. Worked fine a few days ago, but now doesn’t. I’m also using ‘rails s -p $PORT -b $IP’ in a bash terminal, but using the app runner (with shell command or any other) also leads to a “This site can’t be reached”.


I am having the same issue…it appears this question hadn’t been answered.