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 Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Write Our First Tests

Robert Spring
Robert Spring
3,349 Points

localhost:3000 isn't loading.

I do not get the error message when running "rails server" noted here: https://teamtreehouse.com/community/ruby-on-rails-localhost3000-not-working so I'm assuming that rails in instated correctly and it is something else. I also checked that I am in the correct directory. Any idea?

2 Answers

Configuration issues like this can be frustrating. As a first step, when you type 'rails server' into the terminal, what message are you getting? For example, I get this:

=> Booting WEBrick
=> Rails 4.2.4 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-12-19 12:28:05] INFO  WEBrick 1.3.1
[2015-12-19 12:28:05] INFO  ruby 2.2.3 (2015-08-18) [x86_64-darwin15]
[2015-12-19 12:28:05] INFO  WEBrick::HTTPServer#start: pid=29557 port=3000
Dave Faliskie
Dave Faliskie
17,793 Points

if your using mySQL for the server you may have to start that first in the terminal

mysql.server start