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!
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

Liam Oliver
1,014 PointsGenerate a Rails Application
Good Afternoon,
I'm on the "Generate a Rails Application" lesson. When I type "rails server" into command prompt, it appears to work as designed. However, I get a 404 error when I try to visit the address in my web browser. See screenshot example: https://www.evernote.com/shard/s301/sh/a055f891-e378-4327-bcd0-13c36662a3a2/2a7f2c1e10ad434379760b821d94428c?noteKey=2a7f2c1e10ad434379760b821d94428c¬eGuid=a055f891-e378-4327-bcd0-13c36662a3a2
1 Answer

Liam Oliver
1,014 PointsI did some research and found a response from Jim:
localhost:3000 or 127.0.0.1:3000 should work.
0.0.0.0:3000 is the computer's way of saying it's listening on every available address (in the case it has multiple IP addresses). 0.0.0.0 will work on some systems for dialing your own computer, but more reliably the 127.0.0.1 will always loopback to your computer, and localhost should also.
Thanks, Jim Hoskins!