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
Stephen Bicker
3,686 PointsServer is shutting down as soon as it launches
I tried to run the command to test the server installation but it does not work. I piped the output of the command to a text file. this is what the command output:
=> Booting WEBrick
=> Rails 4.1.5 application starting in development on http://0.0.0.0:3000
=> Run rails server -h for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
Any ideas?
Thank you -Steve
2 Answers
J Scott Erickson
11,883 PointsIt appears you already have a server instance running. You need to kill the process before you can start a new one (or you have something else using that port, in which case you need to kill that before you start it)
Easiest scenario is you quit out of the terminal entirely and it should kill the process. The longer solution is to find and kill the process manually.
Stephen Bicker
3,686 PointsI think it is a Microsoft service that is doing it - I have webdev installed. any clues as to what service i need to shut down? I cant find any kind if initd or IIS or anything like that.
Thank you, Best Regards, Stephen Bicker