Topics Glossary About Privacy Terms Free IP Tools →

Common Port Numbers: The Complete Reference Table

ports tcp udp networking reference

Network ports are virtual endpoints that identify specific processes or services on a host. When data arrives at an IP address, the port number tells the operating system which application should receive it. Think of the IP address as the building address and the port number as the apartment number. This reference covers the most important ports you’ll encounter in networking, security, and system administration.

Well-Known Ports (0 to 1023)

These are assigned by IANA to common protocols and services. They require root/administrator privileges to bind on most operating systems.

Essential Web & Transfer Ports

PortProtocolServiceNotes
20TCPFTP DataFile transfer data channel
21TCPFTP ControlFile transfer commands
22TCPSSHSecure shell, SCP, SFTP
23TCPTelnetUnencrypted remote access (don’t use)
25TCPSMTPEmail sending
53TCP/UDPDNSDomain name resolution
67/68UDPDHCPIP address assignment
69UDPTFTPTrivial file transfer
80TCPHTTPUnencrypted web traffic
110TCPPOP3Email retrieval
123UDPNTPTime synchronization
143TCPIMAPEmail retrieval (better than POP3)
161/162UDPSNMPNetwork monitoring
389TCPLDAPDirectory services
443TCPHTTPSEncrypted web traffic
445TCPSMBWindows file sharing
465TCPSMTPSEncrypted email sending (deprecated, use 587)
514UDPSyslogSystem logging
587TCPSMTP SubmissionEmail sending with STARTTLS
636TCPLDAPSEncrypted LDAP
993TCPIMAPSEncrypted IMAP
995TCPPOP3SEncrypted POP3

Database Ports

PortProtocolService
1433TCPMicrosoft SQL Server
1521TCPOracle Database
3306TCPMySQL / MariaDB
5432TCPPostgreSQL
6379TCPRedis
27017TCPMongoDB

Application & Service Ports

PortProtocolService
3389TCPRDP (Remote Desktop)
5060/5061TCP/UDPSIP (VoIP)
5900TCPVNC
8080TCPHTTP alternative / proxy
8443TCPHTTPS alternative
9090TCPWeb management interfaces
51820UDPWireGuard VPN

VPN & Tunnel Ports

PortProtocolService
500UDPIKEv2/IPSec
1194UDP/TCPOpenVPN
1723TCPPPTP (don’t use)
4500UDPIPSec NAT-T
51820UDPWireGuard

Port Security

Open ports are potential attack vectors. Security best practices:

  • Close all ports that aren’t actively needed
  • Firewall rules should default to deny with explicit allows
  • Don’t expose database ports to the internet
  • Use non-standard ports for SSH (change from 22 to reduce automated attacks)
  • Monitor open ports with regular scans

Test It Yourself

Port Scanner

Scan any host for open TCP ports. See which services are running and potentially exposed.

Open Tool →

Frequently Asked Questions

65,535 per transport protocol (TCP and UDP). Ports 0 to 1023 are 'well-known ports' assigned to common services. 1024 to 49151 are 'registered ports' for applications. 49152 to 65535 are 'dynamic/ephemeral ports' used temporarily by clients.
Yes. TCP and UDP ports are independent namespaces. Port 53 is used by DNS for both TCP and UDP, for example. A service listening on TCP port 80 and a different service listening on UDP port 80 would not conflict.