Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

Ernest Guaimano
Ernest Guaimano
14,928 Points

After stopping the server by pressing CRTL + C, I am unable to start the server again?

What command will re-start the server. I tried to use bin/rails server again but this did not start the server.

1 Answer

What does it say when you run the command?

Maybe it's conflicting with the process still running so just stop it by typing in the terminal:

kill -9 $(lsof -i tcp:3000 -t)

If on windows and the above doesn't work try

fuser -k 3000/tcp

Then run

rails s