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

Ruby

my ruby rails server is already running, how do I pause this?

I am a Windows user, and I typed 'rails server' once. but then, I can't pause this with the proper command, Ctrl+Pause/Break. I even could not access to 127.0.0.1:3000 or 0.0.0.0:3000 after the first execution of 'rails server'.

What is the solution?

3 Answers

Steve Monsen
Steve Monsen
5,207 Points
  1. Try Crtl + C to stop the rails/webrick server that you started from the console.

  2. Try http://localhost:3000 and see if you can access the app there when you re-start the server.

Thank you so much.

I just accessed to the path, and physically deleted the temporary .pid file. and now it works..

what he said!