Network+ Exam Tutorial: Ports, Port Numbers, and Sockets
If there"s one thing that can be a bit confusing to many Network+ certification exam candidates, it"s the concept of ports and sockets. Well, it was confusing to me when I got started with computer certifications! Let"s take a look at ports and sockets, and why we need them in the first place.
Past Network+ exam tutorials have focused on how two PCs start communicating, but what we"ve got to keep in mind is that host PCs may and probably will have several different kinds of communications going on at the same time. A single PC may be sending email, receiving a Telnet request, and accessing the Internet at the same time. These conversations have to kept separate.. but how?
Through the use of ports, that"s how. Each potential type of conversation a host can have is preassigned a port number, and these port numbers allow different types of communications to take place over the same physical cable by keeping them logically separated.
Let"s go back to that PC we were talking about. If the PC is using SMTP for email communications, it will use port 25. At the same time, the host will be using port 23 for Telnet and port 80 to access the web via HTTP. The same physical cable is in use, but the communications are kept logically separate by use of port numbers.
A socket is simply the host"s IP address followed by a colon and the port number in use. If the previously mentioned host had an IP address of 10.1.1.1, the socket number for SMTP would be 10.1.1.1:25, 10.1.1.1:23 for Telnet, and 10.1.1.1:80 for HTTP.
The range of port numbers is quite large - 0 through 65,535 - and the 0 - 1023 range is known as the well-known port numbers. Don"t worry, you don"t have to memorize all of them! As you gain more and more experience with networks, you"ll be surprised how many of these you remember without even thinking about it. In the meantime, for both your Network+ and CCNA exams as well as working with real-world networks, it"s a good idea to know this list of often-used ports.
File Transfer Protocol uses both ports 20 and 21.
Telnet uses port 23.
Simple Mail Transfer Protocol (SMTP) uses port 25.
Domain Name Service (DNS) uses port 53.
HyperText Transfer Protocol (HTTP) uses port 80, while the secure version of HTTP, HTTPS, uses port 443.
Believe me, this is just a very short beginning list of port numbers you"ll need to know to pass the Network+ exam. If you"re familiar with these protocols, that"s great - and if you"re not, just look for upcoming Network+ exam tutorials!
Author: Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of over 100 free CCNA and CCNP tutorials, The Ultimate CCNA Study Package, Ultimate Network+ Study Package, and Ultimate CCNP Study Packages.
Random Posts
- Hacking the Cable Modem: What Cable Companies Don’t Want You to Know
- .NET Developers Journal October 2006
- Next Generation Network Services - Cisco Press
- Beginning Web Programming with HTML, XHTML, and CSS
- Marketing Automation: Practical Steps to More Effective Direct Marketing
- IPSec VPN Design - Cisco Press
- Premiere Pro 2 for Windows: Visual QuickPro Guide - Peachpit
- Beginning DB2: From Novice to Professional
- Continuous Integration: Improving Software Quality and Reducing Risk
- Mobile Virtual Work A New Paradigm



















January 6th, 2007 19:58
The link to download is missing.
January 30th, 2007 15:29
yeeee… Mr Blue where the link….
February 9th, 2007 19:48
where to get the links for downloadin? Thanks in advance
February 21st, 2007 22:12
wow no link to download :(
March 11th, 2007 14:40
link please
April 7th, 2007 22:04
link ????
April 20th, 2007 00:12
Any link please?
May 20th, 2007 19:59
link please
June 7th, 2007 01:13
link please
June 17th, 2007 04:27
link please
July 28th, 2007 03:37
link plz :)
July 30th, 2007 04:15
It’s true where’s the link.