Well-known ports: 0-1023
Registered ports: 1024-49,151
Dynamic ports: 49,152-65,535
Most common ports and services:
Protocol name | TCP/UDP | Port number |
File Transfer Protocol (FTP) | TCP | 20, 21 |
Secure Shell (SSH) | TCP | 22 |
Telnet | TCP | 23 |
Simple Mail Transfer Protocol (SMTP) | TCP | 25 |
Domain Name System (DNS) | TCP/UDP | 53 |
Dynamic Host Configuration Protocol (DHCP) | UDP | 67, 68 |
Trivial File Transfer Protocol (TFTP) | UDP | 69 |
Hypertext Transfer Protocol (HTTP) | TCP | 80 |
Post Office Protocol version 3 (POP3) | TCP | 110 |
NetBIOS | TCP/UDP | 137, 138, 139 |
Internet Message Access Protocol (IMAP) | TCP | 143 |
Simple Network Management Protocol (SNMP) | UDP | 161, 162 |
Lightweight Directory Access Protocol (LDAP) | TCP | 389 |
Hypertext Transfer Protocol over SSL/TLS (HTTPS) | TCP | 443 |
Lightweight Directory Access Protocol over TLS/SSL (LDAPS) | TCP | 636 |
FTPS — FTP over SSL/TLS | TCP | 989, 990 |
IMAPS — IMAP over SSL/TLS | TCP | 993 |
POPS — POP over SSL/TLS | TCP | 995 |
MSSQL — Microsoft SQL Server | TCP | 1433 |
MySQL | TCP | 3306 |
Remote Desktop Protocol (RDP) | TCP | 3389 |
Oracle DB | TCP |
2483, 2484 |
VNC Server | TCP |
5500, 5900 |
PCAnywhere | TCP | 5631, 5632 |
X11 | TCP | 6000, 6001 |
For a complete list of references, check out https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers.