Table of Contents
Learn Important Port Numbers
ICANN has 3 port categories.
Well Known Ports:
0 to 1023 / Assigned to common protocols and services
Registered Ports:
1024 to 49151 / Assigned to a specific service by ICANN
Dynamic Ports:
49152 to 65535 / These can be used by any service. Assigned when a session is established and released when the session ends
20 TCP / 21 TCP:
File Transfer Protocol (FTP)
22 TCP and UDP:
Secure Shell Protocol (SSH)
Secure File Transfer Protocol (SFTP)
23 TCP
Telnet
25 TCP and UDP
Simple Mail Transfer Protocol (SMTP)
53 TCP and UDP
Domain Name Server (DNS)
67 TCP and UDP / 68 TCP and UDP
Dynamic Host Configuration Protocol (DHCP)
69 TCP and UDP
Trivial File Transfer Protocol (TFTP)
80 TCP
Hypertext Transfer Protocol (HTTP)
110 TCP
Post Office Protocol (POP3)
119 TCP
Network News Transport Protocol (NNTP)
123 UDP
Network Time Protocol (NTP)
137 TCP and UDP / 138 TCP and UDP / 139 TCP and UDP
NetBIOS Name Service
NetBIOS Datagram Service
NetBIOS Session Service
143 TCP
Internet Message Access Protocol (IMAP4)
161 UDP / 162 UDP
Simple Network Management Protocol (SNMP)
389 TCP and UDP
Lightweight Directory Access Protocol (LDAP)
443 TCP and UDP
HTTP over Secure Sockets Layer (HTTPS)
445 TCP
Microsoft Server Message Block (SMB) File Sharing
514 UDP
Syslog
587 TCP
SMTP TLS
636 TCP
Lightweight Directory Access Protocol over TLS/SSL (LDAPS)
993 TCP and UDP
IMAP over SSL
995 TCP and UDP
POP3 over SSL
1433 TCP
Structured Query Language (SQL) Server
1521 TCP
SQLNet
1720 TCP
H.323 Call Signaling
2427 UDP / 2428 UDP
Cisco Media Gateway Control Protocol (MGCP)
3306 TCP and UDP
MySQL
3389 TCP and UDP
Remote Desktop Protocol (RDP)
5004 TCP and UDP / 5005 TCP and UDP
Real-time Transport Protocol (RTP) Data
Real-time Transport Protocol (RTP) Control
5060 TCP and UDP / 5061 TCP
Session Initiation Protocol (SIP)
Session Initiation Protocol (SIP) over TLS
Note, it is important to only open necessary ports for the service being used. An Email server should only have ports used for email open.