List of TCP and UDP Ports: A full breakdown for Beginners and Professionals
Introduction
Understanding the list of TCP and UDP ports is essential for anyone working with networks, whether you are a developer, system administrator, or a curious learner. Ports act as virtual entry points that allow different services and applications to communicate over the internet or a local network. By knowing which ports correspond to which protocols and services, you can configure firewalls, troubleshoot connectivity issues, and secure your systems more effectively. This article provides a detailed, easy‑to‑follow overview of the most common TCP and UDP ports, explains how they are categorized, and offers practical tips for using the list in real‑world scenarios Still holds up..
What Are TCP and UDP Ports?
Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) are the two primary transport protocols used on the Internet Protocol (IP) suite.
- TCP is a connection‑oriented protocol that guarantees reliable, ordered, and error‑checked delivery of data. It establishes a session before any data is exchanged, making it ideal for applications like web browsing, email, and file transfers.
- UDP is a connectionless protocol that sends data packets without establishing a prior connection. It offers lower latency and is suitable for real‑time applications such as streaming, online gaming, and VoIP, where occasional packet loss is acceptable.
Each protocol uses a port number (a 16‑bit integer ranging from 0 to 65535) to identify a specific service or application running on a host. The port number, combined with the IP address and protocol, forms a unique endpoint for network communication Worth knowing..
Port Number Categories
To make the list of TCP and UDP ports more manageable, ports are grouped into three categories:
- Well‑Known Ports (0–1023) – Reserved for standard services. These ports are controlled by the Internet Assigned Numbers Authority (IANA) and are widely recognized.
- Registered Ports (1024–49151) – Assigned to specific applications by IANA upon request. They are commonly used by software that does not require privileged access.
- Dynamic/Private Ports (49152–65535) – Also called ephemeral ports. These are allocated dynamically by the operating system for temporary client connections.
Common TCP Ports
Below is a curated list of TCP ports that you will encounter most often in everyday networking environments. Each entry includes the port number, the associated service, and a brief description.
Well‑Known TCP Ports
- Port 20 – File Transfer Protocol (FTP) data – Used for transferring files in active FTP mode.
- Port 21 – FTP control – Handles commands and authentication for FTP services.
- Port 22 – Secure Shell (SSH) – Provides encrypted remote login and command execution.
- Port 23 – Telnet – Legacy protocol for remote terminal access (generally discouraged due to lack of encryption).
- Port 25 – Simple Mail Transfer Protocol (SMTP) – Core protocol for sending email between servers.
- Port 53 – Domain Name System (DNS) – Translates domain names into IP addresses.
- Port 80 – Hypertext Transfer Protocol (HTTP) – Serves web pages in non‑encrypted form.
- Port 110 – Post Office Protocol version 3 (POP3) – Retrieves email from a mail server.
- Port 143 – Internet Message Access Protocol (IMAP) – Accesses email messages stored on a mail server.
- Port 443 – HTTP Secure (HTTPS) – Encrypted web traffic using TLS/SSL.
- Port 993 – IMAP over SSL – Secure IMAP communication.
- Port 995 – POP3 over SSL – Secure POP3 retrieval.
- Port 3306 – MySQL – Default port for MySQL database servers.
- Port 3389 – Remote Desktop Protocol (RDP) – Windows remote desktop access.
- Port 5432 – PostgreSQL – Default port for PostgreSQL database servers.
Registered TCP Ports
- Port 8080 – HTTP Alternative – Often used as a secondary web server port (e.g., Apache Tomcat).
- Port 8443 – HTTPS Alternative – Secure web service on a non‑standard port.
- Port 27015 – Steam – Gaming platform communication for Valve titles.
- Port 25565 – Minecraft Java – Default server port for Minecraft Java Edition.
Common UDP Ports
UDP ports are equally important, especially for real‑time services. The following list of UDP ports highlights the most frequently used ones.
Well‑Known UDP Ports
- Port 53 – DNS – Same as TCP; DNS can operate over UDP for faster queries.
- Port 67 – Dynamic Host Configuration Protocol (DHCP) server – Assigns IP addresses to clients.
- Port 68 – DHCP client – Receives configuration from the DHCP server.
- Port 123 – Network Time Protocol (NTP) – Synchronizes system clocks across a network.
- Port 161 – Simple Network Management Protocol (SNMP) – Monitors and manages network devices.
- Port 162 – SNMP Trap – Receives asynchronous alerts from managed devices.
- Port 500 – Internet Security Association and Key Management Protocol (ISAKMP) – Used for VPN negotiations.
- Port 4500 – IPsec NAT Traversal – Enables IPsec traffic to pass through NAT devices.
- Port 5060 – Session Initiation Protocol (SIP) – Controls voice and video calls.
- Port 6970 – Real Time Streaming Protocol (RTSP) – Controls streaming media sessions.
- Port 8080 – HTTP Alternative – Some web services also listen on UDP for HTTP/3.
Registered UDP Ports
- Port 19132 – Minecraft Bedrock – Default UDP port for Minecraft Bedrock Edition.
- Port 3478 – STUN/TURN – Facilitates NAT traversal for peer‑to‑peer communications.
- Port 5353 – mDNS/DNS-SD – Multicast DNS for service discovery.
How to Use the Port List in Real‑World Scenarios
Configuring Firewalls
When setting up a firewall, you typically allow or block traffic based on port numbers. For example:
- To expose a web server to the internet, open TCP port 80 and TCP port 443.
- For remote administration, permit TCP port 22 (SSH) or TCP port 3389 (RDP) while restricting access to trusted IP ranges.
- To allow DNS queries, open UDP port 53 and optionally TCP port 53 for larger responses.
Scanning and Auditing
Network scanners (e.g., Nmap) rely on the list of TCP and UDP ports to identify running services. By scanning a host with:
nmap -sS -sU -p- 192.168.1.1
you request a full port scan (both TCP and UDP). The results reveal which ports are open, closed, or filtered, helping you
identify potential security risks or misconfigurations. This information is vital for hardening your network posture and ensuring only intended services are accessible.
Troubleshooting Network Issues
When connectivity problems arise, checking port availability is often the first step. Here's one way to look at it: if a web browser cannot reach a site, verifying that TCP port 80 or 443 is open on the target server and that no local firewall is blocking outbound traffic can pinpoint the issue. Similarly, online gamers experiencing lag or disconnections might need to forward UDP port 19132 (Minecraft Bedrock) or TCP/UDP port 25565 (Minecraft Java) on their home router to ensure a stable connection. Tools like telnet or Test-NetConnection in PowerShell can quickly test TCP port reachability, while nmap remains the go‑to for comprehensive UDP scans The details matter here..
Setting Up Gaming and Media Servers
Many multiplayer games rely on specific ports for matchmaking and voice chat. Forwarding these ports on your router—such as UDP 3478 for STUN/TURN in peer‑to‑peer games or TCP 3074 for Xbox Live—can reduce latency and prevent NAT traversal errors. For home media centers, ensuring UDP 1900 (SSDP) is open allows devices like smart TVs to discover DLNA servers automatically. When hosting a private Minecraft server, you would configure your firewall to allow inbound traffic on TCP 25565 and, for Bedrock players, UDP 19132 Worth keeping that in mind. Turns out it matters..
Securing VoIP and VPN Services
Voice‑over‑IP (VoIP) applications such as Zoom or Microsoft Teams dynamically negotiate ports, but they often rely on UDP 5060 (SIP) for call setup. If calls fail, confirming that these ports are not blocked by a corporate firewall can resolve the issue. For remote workers, VPN solutions like IPsec use UDP 500 and UDP 4500 for tunnel establishment; ensuring these are permitted is essential for secure, seamless access to internal resources Took long enough..
Conclusion
A solid grasp of common TCP and UDP ports empowers network administrators, gamers, and everyday users to configure, secure, and troubleshoot their digital environments effectively. By recognizing which services listen on which ports, you can make informed decisions about firewall rules, optimize performance for latency‑sensitive applications, and quickly diagnose connectivity problems. In an increasingly connected world, this knowledge is not just technical—it’s a fundamental aspect of reliable and safe network usage.