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
im confused on what the port does in this telnet command. he was very brief, does the port specify the type of communication and 80 is HTTP messaging? did i understand that right?
When you connect to a server, you need to specify not only the address of the server, but also a port number. The port number allows to the server to have different services on different ports. Port 80 is normally used for http. But this is only a convention, you could put something else on port 80. You could also run http on a different port, and that is not uncommon when someone has multiple web services on a single server.
Likewise, when you point your browser at an address to something like http://some.host it will use the http protocol (because the URL started with http:), and since you didn't give a specific port number, it will default to port 80.