Home/Tools/Network/Port Reference

Port Reference

Comprehensive database of common network ports and their associated services

100% Private - Runs Entirely in Your Browser
No data is sent to any server. All processing happens locally on your device.
Loading Port Reference...
Loading interactive tool...

Need Professional IT & Security Help?

Our team of experts is ready to help protect and optimize your technology infrastructure.

What Is a Port Reference Guide

A port reference provides a comprehensive lookup of TCP and UDP port numbers, their assigned protocols, and their security implications. Ports are logical endpoints that operating systems use to direct network traffic to the correct application—like apartment numbers in a building. Understanding which services run on which ports is fundamental to network administration, firewall configuration, and security operations.

The Internet Assigned Numbers Authority (IANA) maintains the official port registry, dividing the 65,535 available ports per protocol into three ranges: Well-Known Ports (0-1023), Registered Ports (1024-49151), and Dynamic/Ephemeral Ports (49152-65535). Security professionals need to know these assignments to interpret network scans, write firewall rules, and identify potentially malicious traffic.

How Network Ports Work

When a client connects to a server, it specifies both an IP address and a port number. The server listens on a specific port for incoming connections. The combination of IP address + port number + protocol (TCP or UDP) uniquely identifies a network service.

PortProtocolServiceSecurity Notes
22TCPSSHSecure remote access; target for brute-force attacks
25TCPSMTPEmail relay; often blocked to prevent spam
53TCP/UDPDNSName resolution; DNS tunneling risk
80TCPHTTPUnencrypted web traffic
443TCPHTTPSEncrypted web traffic (TLS)
445TCPSMBFile sharing; historically vulnerable (WannaCry)
1433TCPMSSQLDatabase; should never be internet-exposed
3306TCPMySQLDatabase; restrict to localhost or VPN
3389TCPRDPRemote desktop; major attack target
5432TCPPostgreSQLDatabase; restrict access carefully
8080TCPHTTP AltCommon for proxies and dev servers
8443TCPHTTPS AltCommon for management interfaces

Port states in scanning:

  • Open: A service is actively listening and accepting connections
  • Closed: The port is accessible but no service is listening
  • Filtered: A firewall is blocking the port; no response received

Common Use Cases

  • Firewall rule creation: Know which ports to allow/block based on required services
  • Network scanning interpretation: Understand what services Nmap or Nessus results indicate
  • Incident investigation: Identify unusual port activity that may indicate compromise or data exfiltration
  • Server hardening: Determine which ports should be open and close everything else
  • Application deployment: Configure the correct ports for web servers, databases, and APIs

Best Practices

  1. Follow the principle of least privilege — Only open ports that are required for business operations
  2. Never expose database ports to the internet — MySQL (3306), PostgreSQL (5432), and MSSQL (1433) should be accessible only from application servers
  3. Use non-standard ports cautiously — Moving SSH from 22 to another port reduces noise but is not a security control; attackers scan all ports
  4. Monitor for unauthorized listeners — Regularly audit which processes are listening on which ports with tools like netstat or ss
  5. Block outbound ports by default — Egress filtering prevents malware from establishing command-and-control connections on non-standard ports

References & Citations

  1. Internet Assigned Numbers Authority. (2024). IANA Port Number Registry. Retrieved from https://www.iana.org/assignments/service-names-port-numbers/ (accessed January 2025)
  2. Gordon "Fyodor" Lyon. (2009). Nmap Network Scanning Guide. Retrieved from https://nmap.org/book/ (accessed January 2025)

Note: These citations are provided for informational and educational purposes. Always verify information with the original sources and consult with qualified professionals for specific advice related to your situation.

Frequently Asked Questions

Common questions about the Port Reference

Network ports are logical endpoints in TCP/IP networking, numbered 0-65535, that enable multiple services to operate on a single IP address. Ports direct traffic to specific applications: web servers use 80/443, email uses 25/587/993, SSH uses 22. Understanding ports is essential for firewall configuration, troubleshooting connectivity, and securing network services properly.

0