Common Network Ports Reference: A Complete Guide

ยท 8 min read

What Are Network Ports?

Network ports are virtual communication endpoints that allow multiple services to run on a single device. If an IP address is like a building's street address, ports are the individual apartment numbers inside that building. When data travels across the internet, it's directed to a specific IP address and port number, ensuring it reaches the right application.

Every time you browse the web, send an email, transfer a file, or stream video, your device uses network ports to manage these different conversations simultaneously. Your web browser might be talking to port 443 on a web server while your email client communicates with port 993 on a mail server โ€” all at the same time, on the same internet connection.

Port numbers range from 0 to 65,535. Each number can be associated with a specific service or application. Some port numbers are standardized and universally recognized (like port 80 for HTTP), while others are dynamically assigned as needed. Understanding common port numbers is fundamental knowledge for anyone working with networks, servers, or web applications.

๐Ÿ› ๏ธ Try it yourself

Port Scanner Tool โ†’

TCP vs UDP

Before diving into specific port numbers, it's important to understand the two main transport protocols that use ports:

TCP (Transmission Control Protocol)

TCP is the reliable, connection-oriented protocol. It establishes a connection before sending data (the "three-way handshake"), ensures every packet arrives in the correct order, and retransmits any lost data. Think of TCP like a phone call โ€” you establish a connection, have a conversation, and both sides know when the call ends.

TCP is used when data accuracy is critical: web browsing, email, file transfers, and database queries all use TCP because losing or reordering data would cause problems.

UDP (User Datagram Protocol)

UDP is the fast, connectionless protocol. It sends data without establishing a connection first and doesn't wait for confirmation of receipt. Think of UDP like sending postcards โ€” you drop them in the mailbox and hope they arrive, but you don't wait for a response before sending the next one.

UDP is used when speed matters more than perfect reliability: video streaming, online gaming, VoIP calls, and DNS queries use UDP because a slightly dropped frame or delayed packet is better than pausing to retransmit.

Port Number Ranges

The 65,536 available ports are organized into three ranges:

Essential Ports Every Admin Should Know

Here's a comprehensive reference of the most important network ports:

Web and Internet

Email

File Transfer

DNS and Network Services

Database and Application Ports

Security Considerations

Understanding ports is essential for network security. Here are key practices:

Scanning and Monitoring Ports

Regularly scanning your network ports helps maintain security and identify issues. The Port Scanner on NetTool lets you quickly check the status of any port on any reachable host.

Port states you'll encounter:

Best practices for port scanning:

  1. Scan your own servers regularly to verify only expected ports are open
  2. Document which ports should be open on each server and why
  3. Set up alerts for unexpected port changes
  4. Scan after any configuration changes to verify the effects
  5. Only scan systems you own or have explicit permission to test

Frequently Asked Questions

What is a network port?

A network port is a virtual endpoint for network communication. Think of an IP address as a building's street address and ports as individual apartment numbers. Each port number (0-65535) identifies a specific service or application. When data arrives at an IP address, the port number tells the operating system which application should receive it.

What is the difference between TCP and UDP ports?

TCP (Transmission Control Protocol) provides reliable, ordered delivery with error checking and retransmission of lost data. It's used for web browsing, email, and file transfers. UDP (User Datagram Protocol) is faster but less reliable โ€” it sends data without confirming receipt. UDP is ideal for real-time applications like video streaming, gaming, and DNS queries where speed matters more than guaranteed delivery.

How many network ports are there?

There are 65,536 ports (0-65535), divided into three ranges: Well-Known Ports (0-1023) are assigned to common services like HTTP (80) and HTTPS (443). Registered Ports (1024-49151) are assigned to specific applications by IANA. Dynamic/Private Ports (49152-65535) are used temporarily by client applications for outgoing connections.

How do I check if a port is open?

You can check if a port is open using the Port Scanner on NetTool. Enter the target hostname or IP address and the port number(s) you want to check. The tool reports whether each port is open, closed, or filtered. You can also use command-line tools like telnet, nc (netcat), or nmap for local testing.

Why should I close unused ports?

Every open port is a potential entry point for attackers. Unused open ports increase your attack surface without providing any benefit. Closing unnecessary ports reduces the risk of unauthorized access, port-based exploits, and data exfiltration. It's a fundamental security practice to only keep ports open that are actively needed for your running services.

Related Tools

Port Scanner