The Ultimate Guide to Common Ports & Protocols: Your Network Keycard

Every time your computer talks to another on the internet, it will use a specific “Door” called a Port. There are 65,535 available ports, but for the Network+ And just daily IT life, We will only need to master the most common ones.

Today, we will break down the protocols that run the world and providing the ultimate “Cheat Sheet” to help memorize them forever.

1. What Exactly is a Port?

A port is a logical connection point at Layer 4 (Transport) of the OSI model. It will ensure that when you download a file while browsing a website, the file data doesn’t accidentally end up in your browser window.

  • Well-Known Ports (0-1023): Reserved for system services (The ones we study!).
  • Registered Ports (1024 – 49151): Used by specific applications.
  • Dynamic/Private Ports (49152 – 65535): Temporary ports used by your computer to “client-side” conversations

2. The “Must-Know” Protocols

The Web & Security

  • HTTP (80): The foundation of the web. It’s unencrypted, don’t use it for passwords!
  • HTTPS (443): Secure web browsing. It uses SSL/TLS to encrypt your data.
  • SSH (22): Secure Shell, Used to remotely log into a server’s command line securely
  • RDP (3389): Remote Desktop Protocol. This is how you “remote in” to a windows machine

Infrastructure & File Transfer

  • DNS (53): Resolves names to IP addresses (Uses both TCP and UDP).
  • DHCP (67/68): Assigns IP addresses to devices.
  • FTP (20/21): File Transfer Protocol. Port 21 is for control, and port 20 is for the actual data.
  • SMB (445): Server Message Block. Used for Windows file sharing and printers.

Email (The “Big Three”)

  • SMTP (25): Sending mail between servers.
  • POP3 (110): Downloading mail to a device (then usually deleting it from the server)
  • IMAP (143): Syncing mail across multiple devices (keeps the mail on the server).

3. The Ultimate Port Cheat Sheet

Feel free to Copy and paste this table into your study notes. If you can memorize these, you’ve already passed a huge portion of the Network+ Exam.

ProtocolPortTransportPurpose
FTP20,21TCPFile Transfer
SSH22TCPSecure Remote Login
Telnet23TCPUnsecure Remote Login
SMTP25TCPSending Email
DNS53UDP/TCPName Resolution
DHCP67,68UDPAutomatic IP Assignment
HTTP80TCPWeb Traffic (Unsecure)
POP3110TCPReceiving Email
IMAP143TCPSyncing Email
SNMP161,162UDP/TCPNetwork Management
LDAP389TCPDirectory Services (Active Directory)
HTTPS443TCPWeb Traffic (secure)
SMB445TCPWindows File Sharing
RDP3389TCPRemote Desktop

4. The “Support Associate” Troubleshooting Tip

If a user says they can reach a website’s homepage but they can’t send an email, you now know exactly where to look. it’s Likely that Port 443 is open on the firewall, but Port 25 or 587 is blocked.

The “Telnet” Trick: You can use a terminal to see if a port is open by typing telnet [IP Address] [Port]. If it the screen goes blank, the port is open! (Note: You may need to enable the telnet client in Windows Features first).

What’s Next?

We have officially crushed the core fundamentals of networking! We now know how data is built (OSI). how its addressed (IP/subnetting), how it’s named (DNS), and which odors it uses (Ports)

Next week, we are going to move into the “Action” Phase: Network Hardware Configuration. We’ll talk about setting up switches, configuring VLANs, and the magic of Wireless Access Points.

📚 Sources & Further Reading.

This article is an independent summary of my learning journey. All trademarks and copyrighted materials belong to their respective owners.

Leave a Reply

Your email address will not be published. Required fields are marked *