Network Ports
Ports are used for communication between computers.
If the analogy where an IP address is equal to a building's street address, ports can be thought of as telephone numbers which go into that specific 'building'. However, each 'building' has its own set of numbers (ports) which may not apply elsewhere.
Port Ranges
Ports are divided into specific ranges:
- 0-1023 are 'Well Known Ports' and are used for many well established protocols.
- 1024-49151 are 'Registered Ports' where other applications can officially register ports for a specific use.
- 49152-65535 are 'Dynamic Ports' and are generally not used for any public application.
Common Ports
Often, ports can be used to determine what kind of application is running or listening on a specific port. Here is a list of commonly used ports on the Internet. It is impossible to list every single use for a port since applications are not always registered. The IANA handles the registration of ports, and most of the data in the following table is sourced from the official assignments.
Port # | Transport | Description |
---|---|---|
1 | TCP/UDP | TCP Port Service Multiplexer |
5 | TCP/UDP | Remote Job Entry |
7 | TCP/UDP | ECHO Protocol |
9 | TCP/UDP | DISCARD Protocol |
13 | TCP/UDP | DAYTIME Protocol |
14 | TCP/UDP | NETSTAT Protocol |
20 | TCP | FTP Data |
21 | TCP | FTP Control |
22 | TCP/UDP | SSH |
23 | TCP/UDP | Telnet |
25 | TCP/UDP | SMTP |
37 | TCP/UDP | TIME Protocol |
42 | TCP/UDP | Host Name Server / WINS |
43 | TCP | WHOIS |
53 | TCP/UDP | Domain Name System |
56 | TCP/UDP | Route Access Protocol |
67 | UDP | BOOTP / DHCP |
68 | UDP | BOOTP / DHCP |
69 | UDP | TFTP |
70 | TCP | Gopher |
79 | TCP | Finger |
80 | TCP | HTTP |
88 | TCP | Kerberos |
109 | TCP | POP2 |
110 | TCP | POP3 |
115 | TCP | Simple FTP |
119 | TCP | Newsgroups NNTP |
123 | UDP | Network Time Protocol NTP |
137 | TCP/UDP | NetBIOS Name |
138 | TCP/UDP | NetBIOS Datagram |
139 | TCP/UDP | NetBIOS Session |
143 | TCP/UDP | IMAP4 |
153 | TCP/UDP | Simple Gateway Monitoring Protocol SGMP |
161 | TCP/UDP | Simple Network Management Protocol SNMP |
162 | TCP/UDP | SNMP-TRAP |
194 | TCP | Internet Relay Chat IRC |
213 | TCP/UDP | IPX |
220 | TCP/UDP | IMAP3 |
264 | TCP/UDP | Border Gateway Multicast Protocol BGMP |
389 | TCP/UDP | Lightweight Directory Access Protocol LDAP |
443 | TCP | HTTPS |
444 | TCP/UDP | Simple Network Paging Protocol SNPP |
445 | TCP/UDP | Microsoft: SMB, Active Directory |
512 | TCP/UDP | Login / Who |
514 | TCP/UDP | RSH / Syslog |
515 | TCP | Line Printer Daemon LPD |
517 | UDP | Talk |
520 | UDP | Routing Information Protocol RIP |
530 | TCP/UDP | Remote Procedure Call RPC |
531 | TCP/UDP | AIM / IRC |
546 | TCP/UDP | DHCPv6 Client |
547 | TCP/UDP | DHCPv6 Server |