Well-Known Port Numbers: FTP, TELNET, HTTP, and More
Advertisement
This document describes well-known port numbers as defined in RFC 1700. It specifically covers port numbers for FTP, TELNET, HTTP, SMTP, POP3, IMAP, BIOS, SSH, and DHCP, all used within TCP, UDP, and IP protocols.
Port Numbers: The Basics
The endpoint of a logical network connection is known as a port. It’s essentially a 16-bit number, giving us a range from 0 to 65536.
The port numbers ranging from 0 to 1024 are designated as well-known ports. These are reserved for specialized or privileged services. For instance, as detailed in the table below, port 80 is commonly used for HTTP, while FTP typically uses port 21.
Table of Port Numbers for Common Protocols
Port numbers are pre-assigned by the Internet Assigned Numbers Authority (IANA). Their specifications are documented in RFC 1700.
The following table lists port numbers commonly used for FTP, TELNET, HTTP, SMTP, POP3, IMAP, BIOS, SSH, and DHCP. These protocols are fundamental to TCP or UDP connections within computer networks.
Port Number(s) | Protocol Description |
---|---|
20, 21 | Port 20: FTP Data, Port 21: FTP Control |
23 | TELNET |
80, 8080 | HTTP |
443 | HTTPS |
25 | SMTP (Simple Mail Transfer Protocol) |
110 | POP3 |
143 | IMAP (Interim Mail Access Protocol) |
137, 138, 139 | 137: NetBIOS Name Service, 138: NetBIOS-dgm, 139: NetBIOS Datagram Service |
22 | SSH (Secure Shell) remote login protocol |
67, 68 | 68: DHCP Client, 67: DHCP Server |
53 | DNS (Domain Name System) |
69 | TFTP (Trivial File Transfer Protocol) |
70 | Gopher services |
79 | Finger |
161 | SNMP |
179 | BGP (Border Gateway Protocol) |
389 | LDAP (Lightweight Directory Access Protocol) |
5800, 5900 | VNC |