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 Creating a Simple Server

Adam Lyles Kauffman
Adam Lyles Kauffman
14,016 Points

host name?

why was the host name also is there a connection between ip and ports? would we have to use a different port but the same ip if creating another server? ive been trying to grasp a better understanding on ports and such lately. thanks!

1 Answer

I had the same question while going though this course as well! That is just the localhost IP. As to why the localhost is that seemingly non-intuitive and specific IP, appears to be just is left to speculation. I found this resource of some of that speculation which was interesting to me.