Ports & Protocols

Common TCP/UDP Port Reference

Searchable reference of common TCP and UDP port numbers used in networking, security, and system administration. Filter by protocol type, search by port number or service name, and see which services use each port along with security considerations. Covers well-known ports (0-1023), registered ports (1024-49151), and commonly encountered services. Designed for network engineers, firewall administrators, and security professionals who need a quick, no-nonsense port lookup.

Port Protocol Service Description / Notes
Tip: Use netstat -tlnp (Linux) or netstat -an (Windows) to view listening ports. Use nmap -sV target to scan and identify services.

Essential Web Ports

  • 80HTTP
  • 443HTTPS
  • 8080HTTP Proxy/Alt
  • 8443HTTPS Alt
  • 3000Dev Server (Node)
  • 5000Dev Server (Flask)

Remote Access Ports

  • 22SSH
  • 23Telnet (insecure)
  • 3389RDP
  • 5900VNC
  • 5985WinRM HTTP
  • 5986WinRM HTTPS

Database Ports

  • 3306MySQL/MariaDB
  • 5432PostgreSQL
  • 1433MS SQL Server
  • 1521Oracle DB
  • 27017MongoDB
  • 6379Redis

Port Ranges

  • 0-1023Well-Known (System)
  • 1024-49151Registered (User)
  • 49152-65535Dynamic/Private
  • 1-1024Requires root/admin

Frequently Asked Questions

What is a well-known port?

Well-known ports are TCP and UDP port numbers in the range 0-1023, assigned by IANA to common services. Examples include port 80 (HTTP), 443 (HTTPS), 22 (SSH), 53 (DNS), and 25 (SMTP). On most operating systems, binding to a well-known port requires elevated privileges (root or administrator). These ports are the primary targets in network security scanning.

What is the difference between TCP and UDP?

TCP (Transmission Control Protocol) is connection-oriented — it establishes a session, guarantees delivery order, and retransmits lost packets. UDP (User Datagram Protocol) is connectionless — it sends packets without establishing a session, with no delivery guarantee. TCP is used for reliable transfers (HTTP, SSH, email), while UDP is used for speed-sensitive applications (DNS queries, VoIP, video streaming, gaming).

What are ephemeral ports?

Ephemeral ports (also called dynamic or private ports) are temporary port numbers in the range 49152-65535 that the operating system assigns to client-side connections. When your browser connects to a web server on port 443, your OS picks a random ephemeral port (e.g., 52847) as the source port. These ports are automatically released when the connection closes. Firewalls typically allow outbound traffic from ephemeral ports.