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

JavaScript Build a Simple Dynamic Site with Node.js Creating a Simple Server in Node.js HTTP Server Review

John Awoyele
John Awoyele
36,212 Points

what is the local ip address assigned to all computers?

i went through the videos and did an online search. i couldn't find the answer anywhere

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

The IP address every computer assigns to itself is 127.0.0.1

It is also known as a localhost. This way you can install a web server, sql server, etc. and refer to it as http://localhost/testingapage.php or make queries to a database setup on your machine. It can be a good way to troubleshoot problems by removing DNS and networking. If it works on localhost (127.0.0.1) but you can't reach that machine from another, you may have firewall, routing, or other network problems.