Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!