Skip to main content
beginner Email gate

Common Ports and Protocols: Free Network Ports Cheat Sheet (PDF)

Reviewed 2026-10-07

Direct answer
The most common ports are 80 (HTTP), 443 (HTTPS), 22 (SSH), 21 (FTP), 25 (SMTP), 53 (DNS), 67 and 68 (DHCP), 110 (POP3), 143 (IMAP) and 3389 (RDP). This free PDF explains each one with its port number, how it works and a real example.

The most common ports in networking are 80 (HTTP), 443 (HTTPS), 22 (SSH), 21 (FTP), 25 (SMTP), 53 (DNS), 67 and 68 (DHCP), 110 (POP3), 143 (IMAP) and 3389 (RDP). This free PDF gives you the port number, a plain-English explanation and a real-life example for 10 core protocols, plus NetBIOS, LDAP, SMB, RDP and TCP vs UDP.

Common ports cheat sheet: FTP 21, SSH 22, Telnet 23, SMTP 25, DNS 53, DHCP 67, HTTP 80, HTTPS 443, POP3 110, IMAP 143
The 10 common ports to learn first. Teal cards are secure by default.

Common ports in networking: the list you need

Here are the 10 protocols the PDF opens with. Learn this table first, because every other port you meet is a variation on it.

ProtocolPortTransportWhat it doesSecure option
FTP21 (control), 20 (data)TCPMoves files between a client and a serverSFTP runs over SSH on port 22
SSH22TCPEncrypted remote login and commandsAlready secure
Telnet23TCPRemote login in plain textUse SSH instead
SMTP25, 587, 465TCPSends email465 (TLS from the start)
DNS53UDP and TCPTurns names into IP addresses
DHCP67 (server), 68 (client)UDPHands out IP addresses automatically
HTTP80TCPLoads web pagesHTTPS on 443
HTTPS443TCPLoads web pages with encryptionAlready secure
POP3110TCPDownloads email to one devicePOP3S on 995
IMAP143TCPSyncs email across devicesIMAPS on 993

The pattern worth memorising: most plain-text protocols have a secure twin on another port. POP3 is 110 and 995. IMAP is 143 and 993. HTTP is 80 and 443.

What is a TCP port, and how is it different from UDP?

A TCP port is a 16-bit number, from 0 to 65,535, that tells a computer which program should receive incoming data. The IP address finds the device. The port finds the service on it. Together they identify one end of a connection.

Why 65,535? The port field in the TCP and UDP headers is 16 bits wide, which gives 65,536 values, from 0 to 65,535. (RFC 9293 defines TCP and RFC 768 defines UDP.)

Both protocols sit at Layer 4, the transport layer. If the layers still feel fuzzy, our OSI model cheat sheet PDF lays them out on one page.

FeatureTCPUDP
ConnectionConnection-oriented, a handshake firstConnectionless, just sends
ReliabilityAcknowledges, retransmits lost dataNo delivery guarantee
OrderPackets arrive in sequencePackets may arrive out of order
SpeedSlower, more overheadFaster, less overhead
Header size20 bytes minimum8 bytes
Typical useWeb, email, file transfer, SSHDNS lookups, DHCP, voice calls, gaming

Think of TCP as a registered letter with tracking and UDP as a postcard. DNS is the interesting case. It uses UDP for quick lookups and TCP for zone transfers and large answers.

TCP vs UDP ports: TCP is a registered letter, UDP is a postcard, both use ports 0 to 65,535
TCP vs UDP: reliable and ordered against fast and connectionless.

To see which ports a machine is using right now, run netstat -an on Windows or ss -tuln on Linux. Our network troubleshooting commands PDF shows how to read the output.

Well-known, registered and dynamic ports: how many are there?

There are 1,024 well-known ports, numbered 0 to 1023. They’re assigned by IANA to core services such as HTTP, SSH and DNS, and port 0 is reserved. The full split of all 65,536 values looks like this:

RangeNameHow manyWho uses it
0 to 1023Well-known (system) ports1,024Core services: 22, 53, 80, 443
1024 to 49151Registered (user) ports48,128Applications registered with IANA: 3389 (RDP), 8080
49152 to 65535Dynamic (private, ephemeral) ports16,384Temporary client ports your operating system picks

These ranges come from RFC 6335, and IANA keeps the official registry of who owns each number.

Dynamic ports are the ones you never see. When your browser opens a site on port 443, your computer picks a random source port from the dynamic range, such as 51234, for that one conversation. Registered and dynamic ports together make up the 64,512 numbers from 1024 to 65535.

Well-known, registered and dynamic ports: 1,024, 48,128 and 16,384 of 65,536 TCP and UDP ports
How many well-known ports are there? 1,024, numbered 0 to 1023.

What is port 443 (HTTPS)?

Port 443 carries HTTPS, which is HTTP wrapped in TLS encryption. It’s the port behind the padlock in your browser. Port 80 sends pages in plain text, and port 443 encrypts them, so anyone watching the network can’t read the traffic.

A web server such as nginx, Apache or IIS listens on 443 and answers secure requests. Newer web traffic also uses it. HTTP/3 runs over QUIC on UDP port 443, so 443 now appears on both transports. Because nearly every website needs it, port 443 is open on almost every firewall.

What is TCP port 22 (SSH)?

TCP port 22 is SSH, the Secure Shell. It gives you an encrypted remote login and lets you run commands on a server or network device. SSH replaced Telnet (port 23), which sends everything, passwords included, in plain text. SFTP and SCP also travel over port 22.

Admins use SSH to manage Linux servers and, just as often, routers and switches. Our Huawei router commands PDF walks through a full SSH setup on a Huawei AR router, and Chapter 5 of the CCNA Lab Workbook covers Telnet and SSH on Cisco gear.

Port 22 is a favourite target for scans. Use key-based logins and limit who can reach it with a firewall rule.

What is TCP port 8080?

TCP port 8080 is the alternate HTTP port. The IANA registry lists it as http-alt. It speaks the same HTTP as port 80, but in plain text on a different number.

People pick it for three reasons:

  • On Linux and Unix, opening a port below 1024 needs root privileges. Port 8080 doesn’t.
  • Port 80 may already be taken by another web server.
  • Proxies, development servers and application servers such as Tomcat often default to it.

So is the default web port 80 or 8080? It’s 80. Port 8080 is the common alternative, and you’ll often type it into the address bar yourself, as in http://localhost:8080.

Email ports: SMTP, POP3 and IMAP

Email uses three protocols, and each has a secure port.

ProtocolJobPortSecure port
SMTPSends mail between servers25
SMTP submissionYour mail app sends to its server587 (STARTTLS)465 (TLS from the start)
POP3Downloads mail to one device110995
IMAPSyncs mail across devices143993

POP3 downloads messages and usually removes them from the server. IMAP keeps the master copy on the server, so your phone, tablet and laptop all see the same inbox.

Some older guides call port 465 outdated. It isn’t. RFC 8314 (2018) says mail servers should offer encryption from the first byte on dedicated ports, and that includes 465, 993 and 995.

DNS, DHCP and the ports on network gear

Network devices lean on a handful of UDP services. DNS answers on port 53, and DHCP uses 67 for the server and 68 for the client. If you want the full DHCP exchange, read What Is DHCP? The DORA Process, Ports and Cisco Config. The same idea shows up in What Is NAT?, because PAT works by rewriting port numbers.

Beyond the 10 core protocols, you’ll meet these on routers and switches:

ServicePortTransportUsed for
TFTP69UDPSimple file transfers, such as device images and configs
NTP123UDPKeeping clocks in sync
SNMP161 (queries), 162 (traps)UDPMonitoring devices
Syslog514UDPSending log messages
BGP179TCPRouting between networks
RADIUS1812, 1813UDPLogin authentication and accounting
TACACS+49TCPAdmin login and command control

The network services chapter of our CCNA 200-301 lab workbook covers DHCP and relay, NTP, SNMP, FTP and TFTP, so you can see these ports working on a live topology instead of memorising them.

Windows ports: NetBIOS, SMB, LDAP and RDP

The second half of the PDF covers four Windows-era protocols. Here’s the short version.

ServicePortsWhat it does
NetBIOS (NetBT)UDP 137, UDP 138, TCP 139Old name service, datagrams and sessions for Windows networks
SMBTCP 445 (TCP 139 on legacy setups)File and printer sharing
LDAP389 (LDAP), 636 (LDAPS), 3268 (Global Catalog)Looking up users, groups and devices in a directory
RDPTCP 3389 (and UDP 3389)Full remote desktop

NetBIOS is an API from the 1980s, not a protocol. NetBIOS over TCP/IP (NetBT) let it run on routed networks. Modern Windows uses DNS and SMB on port 445 instead, but NetBT is often still switched on for backward compatibility. You can turn it off in the adapter’s IPv4 properties: Advanced, then the WINS tab, then “Disable NetBIOS over TCP/IP”.

SMB powers \\Server\SharedFolder. CIFS is Microsoft’s old SMB 1.0 dialect, which is slow, chatty and insecure, and it’s disabled by default in modern Windows. SMB 2.0 arrived with Windows Vista and Server 2008. SMB 3.x, from Windows 8 and Server 2012, adds encryption.

LDAP is the protocol, and Active Directory is the directory service that speaks it. Think of AD as the bank vault and LDAP as the teller counter. When you log in to a domain-joined laptop, the domain controller checks your password (through Kerberos or an LDAP bind) and then checks your groups.

RDP gives you the whole remote desktop, with clipboard, printer and drive redirection. It’s also a favourite target, and the BlueKeep flaw proved it. Keep port 3389 off the public internet, put it behind a VPN, turn on Network Level Authentication and keep it patched.

Microsoft publishes the full list of Windows service ports in its service overview and network port requirements guide.

Windows network ports: NetBIOS 137, 138 and 139, SMB 445, LDAP 389, 636 and 3268, RDP 3389
Four Windows services and their ports: NetBIOS, SMB, LDAP and RDP.

Which ports do you need to know for the CCNA?

The CCNA is built around the services behind these ports. The 200-301 blueprint covers TCP vs UDP and the IP services: DHCP, DNS, NTP, SNMP, syslog, SSH, TFTP and FTP, and NAT. It also expects you to write ACLs, and an ACL line often names a port, like permit tcp any any eq 443. Cisco’s v2.0 blueprint goes live on 2027-02-03 and restructures IP services, so check the official CCNA exam topics for your test date. Our CCNA v2.0 breakdown lists what changed.

A practical shortlist to learn first: 22, 23, 53, 67 and 68, 69, 80, 123, 161 and 162, 443 and 514. Want a quick refresher on the whole exam? The free CCNA 200-301 PDF condenses it, and our Cisco commands cheat sheet PDF covers the IOS side.

Where does this free PDF stop?

It tells you what each port does. It doesn’t make you configure anything. You won’t:

  • Write an ACL that permits only port 443 and blocks the rest.
  • Set up NAT or PAT and watch the port numbers change.
  • Configure DHCP relay, NTP or SNMP on a router.
  • Chase a “this port is blocked” fault on a live topology.

The 75-lab CCNA workbook closes that gap. It has hands-on labs for EVE-NG and Packet Tracer, with topology files, copy-ready configs and verification steps. Its network services and security chapter covers TCP to UDP comparison, DHCP, Telnet and SSH, NAT, NTP, SNMP, FTP and TFTP, DHCP snooping, port security and ACLs. You can grab a free 25-page sample on the workbook page before you decide. Use the free PDF to learn the numbers, then use the workbook to make them work.

Free common ports PDF compared with the CCNA Workbook: learn the port numbers, then configure them in 75 labs
Learn the numbers in the free PDF, then make them work in the CCNA Workbook.

More free networking PDFs

Frequently asked questions

What are the most common ports in networking?
The most common ports are 80 (HTTP), 443 (HTTPS), 22 (SSH), 21 (FTP), 25 (SMTP), 53 (DNS), 67 and 68 (DHCP), 110 (POP3), 143 (IMAP) and 3389 (RDP). The table at the top of this page lists all of them with their transport protocol.
What is a TCP port?
A TCP port is a 16-bit number, from 0 to 65,535, that tells a computer which program should receive incoming TCP data. The IP address finds the device, and the port finds the service, such as 443 for a secure web server.
What is port 443 used for?
Port 443 carries HTTPS, which is HTTP encrypted with TLS. Web servers listen on it for secure requests, and HTTP/3 also uses UDP port 443. It's the port behind the browser's padlock.
What is TCP port 22 used for?
TCP port 22 is used by SSH for encrypted remote login and command execution. SFTP and SCP also use it. It replaced Telnet on port 23, which sends data in plain text.
What is TCP port 8080 used for?
TCP port 8080 is the alternate HTTP port, registered as http-alt. Proxies, development servers and application servers such as Tomcat use it, because ports below 1024 need root privileges on Linux and Unix. The default web port is still 80.
How many well-known ports are there?
There are 1,024 well-known ports, numbered 0 to 1023, and port 0 is reserved. IANA assigns them to core services such as HTTP (80), HTTPS (443), SSH (22) and DNS (53).
What are registered ports and dynamic ports?
Registered ports run from 1024 to 49151 and are registered with IANA for specific applications, such as RDP on 3389. Dynamic ports run from 49152 to 65535. They're never assigned, and your operating system uses them as temporary client ports.
Why are there 65,535 ports?
The port number field in TCP and UDP headers is 16 bits wide. That gives 65,536 possible values, from 0 to 65,535.
What's the difference between TCP and UDP ports?
Both use the same 0 to 65,535 range. TCP ports carry reliable, ordered, connection-based traffic such as web pages and email. UDP ports carry faster, connectionless traffic such as DNS lookups, DHCP and voice calls. The same number can run on both.
Which ports do email protocols use?
SMTP uses port 25 between servers, plus 587 or 465 for sending from a mail app. POP3 uses 110, or 995 with TLS. IMAP uses 143, or 993 with TLS.
What are the common ports I should memorise for the CCNA?
Start with 22 (SSH), 23 (Telnet), 53 (DNS), 67 and 68 (DHCP), 69 (TFTP), 80 (HTTP), 123 (NTP), 161 and 162 (SNMP), 443 (HTTPS) and 514 (syslog). Then practise them in ACL and NAT labs.
Is there a common ports cheat sheet PDF I can download?
Yes. The free PDF on this page is a common ports cheat sheet. It lists 10 core protocols with ports, a short explanation and a real-life example, and adds NetBIOS, LDAP, SMB, RDP and TCP vs UDP.

Reviewed by

CCDE/CCIE

How to cite this resource

SMEnode Labs (2026). Common Ports and Protocols: Free Network Ports Cheat Sheet (PDF). SMEnode Labs. https://smenode-labs.com/free-pdf/networking/common-ports-cheat-sheet/

APA

SMEnode Labs. (2026). Common Ports and Protocols: Free Network Ports Cheat Sheet (PDF). SMEnode Labs. https://smenode-labs.com/free-pdf/networking/common-ports-cheat-sheet/

BibTeX

@misc{smenodelabs2026,
  title = {Common Ports and Protocols: Free Network Ports Cheat Sheet (PDF)},
  author = {{SMEnode Labs}},
  year = {2026},
  url = {https://smenode-labs.com/free-pdf/networking/common-ports-cheat-sheet/},
  note = {SMEnode Labs}
}