โ† Back to Blog
Networking March 5, 2025

Network Ports Explained: The Complete Guide to Common Ports

If IP addresses are the street addresses of the internet, then ports are the apartment numbers. They ensure that data arriving at a machine gets delivered to the right application. Whether you're configuring a firewall, troubleshooting connectivity issues, or studying for a networking certification, understanding ports is absolutely essential.

This guide covers everything you need to know โ€” from the basics of the transport layer to a complete reference of the most important ports in use today.

What Exactly Is a Port?

A network port is a 16-bit number (ranging from 0 to 65,535) that identifies a specific process or service on a machine. Ports operate at the transport layer (Layer 4) of the OSI model, working alongside protocols like TCP and UDP to route data to the correct application.

When your browser connects to a web server, it doesn't just connect to an IP address โ€” it connects to an IP address on a specific port. For example, 93.184.216.34:443 means "connect to this IP on port 443 (HTTPS)."

Quick analogy: Imagine a large office building (the server) at a street address (the IP). Each office inside has a room number (the port). Mail addressed to Room 80 goes to the web team; mail for Room 22 goes to the SSH team. Without port numbers, the building wouldn't know where to deliver anything.

The Three Port Ranges

The 65,535 available ports are divided into three official ranges defined by IANA (Internet Assigned Numbers Authority):

Well-Known Ports (0โ€“1023)

Reserved for the most common, standardized services. These require root/administrator privileges to bind to on most operating systems. Examples: HTTP (80), HTTPS (443), SSH (22), DNS (53).

Registered Ports (1024โ€“49151)

Assigned by IANA to specific services upon request, but don't require special privileges. Examples: MySQL (3306), PostgreSQL (5432), RDP (3389), alternative HTTP (8080).

Dynamic/Ephemeral Ports (49152โ€“65535)

Used temporarily by client applications for outbound connections. When your browser connects to a website, it picks a random ephemeral port as the source port. These are never assigned to specific services.

The Ports Every IT Professional Should Know

Here's a comprehensive reference of the most important ports you'll encounter in the real world:

File Transfer & Remote Access

Email

Web & DNS

Database & File Sharing

TCP vs. UDP: Two Protocols, Different Trade-offs

Ports work with two transport-layer protocols, each designed for different use cases:

TCP (Transmission Control Protocol) is connection-oriented. It establishes a three-way handshake, guarantees delivery, and ensures packets arrive in order. Most services use TCP: HTTP, SSH, SMTP, FTP, databases.

UDP (User Datagram Protocol) is connectionless. It fires packets without confirming receipt โ€” faster but unreliable. Used for DNS queries, video streaming, VoIP, and gaming where speed matters more than perfection.

Important: TCP port 80 and UDP port 80 are technically different ports. A service can listen on both TCP and UDP on the same port number simultaneously. DNS (port 53) is a classic example of a service that uses both protocols.

Port Forwarding Basics

Port forwarding is a NAT (Network Address Translation) technique that redirects traffic arriving on a specific port of your router to a specific device on your local network. Common use cases include:

To set up port forwarding, you typically log into your router's admin panel, find the port forwarding section, and create a rule mapping an external port to an internal IP and port. Always be mindful of the security implications โ€” every forwarded port is a potential entry point.

Explore All 65,535 Ports on NetLynx

Need to look up a specific port? The NetLynx Port Database has a dedicated page for every single port from 0 to 65,535 โ€” that's 65,535 individual reference pages. Each page includes the port number, common services that use it, the protocol (TCP/UDP), and security notes.

Whether you're configuring a firewall, investigating suspicious traffic, or just curious about what's running on a port, bookmark the NetLynx port database for instant reference.

Final Thoughts

Ports are a fundamental building block of networking. They're how your computer knows to send web traffic to your browser, email to your mail client, and database queries to MySQL. Understanding which ports do what โ€” and which ones to lock down โ€” is essential knowledge for developers, sysadmins, and security professionals alike.

Keep this guide bookmarked as a reference, and use the NetLynx port database whenever you need a quick lookup.

Written by the NetLynx Team ยท March 5, 2025

Browse Our Port Database โ†’