Common Port Numbers
- 0 to 1023 - well known ports, common services and protocols
- 1024 to 49,151 – registered ports, services assigned by ICANN
- 49,152 to 65,535 – dynamic (private, high) ports
If you want a really nice comprehensive list you should check the Wikipedia link in the references section at the bottom of the page.
Here are the ports that you really should know:
Port | Service | Transport protocol |
7 | Echo | |
20 | File Transfer Protocol (FTP) Data Transfer | TCP |
21 | File Transfer Protocol (FTP) Command Control | TCP |
22 | Secure Shell (SSH) | TCP / UDP |
23 | Telnet | TCP |
25 | Simple Mail Transfer Protocol (SMTP) (email) | TCP |
37 | Time | |
42 | Host Name Server (Nameserv) | |
43 | WhoIs | |
50 | IPSec | |
51 | IPSec | |
53 | Domain Name System (DNS) | TCP / UDP |
67 | Dynamic Host Configuration Protocol (DHCP) / BOOTP | UDP |
68 | Dynamic Host Configuration Protocol (DHCP) / BOOTP | UDP |
69 | Trivial File Transfer Protocol (TFTP) | UDP |
80 | HyperText Transfer Protocol (HTTP) (web) | TCP |
110 | Post Office Protocol (POP3) (email) | TCP |
115 | Simple File Transfer Protocol (SFTP) | |
119 | Network News Transport Protocol (NNTP) | TCP |
123 | Network Time Protocol (NTP) | UDP |
135 | DCE/RPC, DCOM | |
137 | NetBIOS (Name service) | TCP / UDP |
138 | NetBIOS (Datagram distribution service) | UDP |
139 | NetBIOS (Session service) | TCP |
143 | Internet Message Access Protocol (IMAP4) (email) | TCP / UDP |
156 | SQL Server | |
161 | Simple Network Management Protocol (SNMP) | TCP / UDP |
162 | Simple Network Management Protocol (SNMPTRAP) | TCP / UDP |
194 | Internet Relay Chat (IRC) | |
389 | Lightweight Directory Access Protocol (LDAP) | TCP / UDP |
443 | HTTPS - HTTP with Secure Sockets Layer (SSL) | TCP / UDP |
445 | SMB/CIFS (Samba/Windows Sharing) (Microsoft-DS) | TCP |
546 | DHCP Client | |
547 | DHCP Server | |
3306 | MySQL | |
3389 | Remote Desktop Protocol | TCP / UDP |