If you’ve ever configured a firewall, set up FTP to upload a website, or seen “port 443” mentioned in your hosting dashboard, you’ve already run into well-known port numbers — even if nobody explained what they actually were. For a beginner web designer, understanding what these port numbers do makes hosting setup, deployment, and troubleshooting far less mysterious.
A port number is a 16-bit numeric value between 0 and 65535, assigned and maintained by IANA (the Internet Assigned Numbers Authority) so that applications can communicate over a network using TCP or UDP. Ports fall into three categories: well-known ports, registered ports, and dynamic ports. This kind of knowledge is also directly relevant if you’re studying for a networking certification, like CompTIA Network+ or CCNA.
This guide covers how ports actually work, the three port ranges, a full cheat sheet of common well-known port numbers, and which ones matter most for everyday web design work.
What Is a Port Number?
A port number identifies a specific application or service running on a device, so incoming network traffic knows exactly where to go once it reaches the right IP address. Think of an IP address as a building’s street address, and a port number as the specific apartment or suite inside it.
Physical Ports vs. Network Communication Ports
Computers actually use two different kinds of “ports,” and it’s easy to mix them up:
- Physical ports — the hardware jacks used to plug in peripherals, like a USB or Ethernet port.
- Network communication ports — logical, software-based ports that operate at the Transport layer using TCP or UDP, directing incoming traffic to the correct application or protocol.
This guide is about the second kind — the ports that make network communication possible.
The Three Categories of Port Numbers
All 65,536 possible port numbers fall into three defined ranges:
- Well-known ports: 0–1023 — reserved for common, standardized services like HTTP, HTTPS, and FTP.
- Registered ports: 1024–49151 — assigned to specific applications and services, though less strictly controlled than well-known ports.
- Dynamic/private ports: 49152–65535 — used temporarily by applications for short-lived connections, and not permanently assigned to any single service.
Well-Known Port Numbers Cheat Sheet
Here’s a quick reference for the most common well-known ports you’ll encounter:
| Port | Service Name | Description |
|---|---|---|
| TCP/20, TCP/21 | File Transfer Protocol (FTP) | Sends and receives files between systems |
| TCP/22 | Secure Shell (SSH) | Encrypted console login |
| TCP/22 | Secure FTP (SFTP) | Secure file transfer |
| TCP/23 | Telnet | Remote console login to network devices |
| TCP/25 | Simple Mail Transfer Protocol (SMTP) | Transfer emails between email servers |
| TCP/53, UDP/53 | Domain Name System (DNS) | Convert domain names into IP addresses |
| UDP/67, UDP/68 | Dynamic Host Configuration Protocol (DHCP) | Automated IP addressing and configuration |
| UDP/69 | Trivial File Transfer Protocol (TFTP) | A very simple file transfer application |
| TCP/80 | HyperText Transfer Protocol (HTTP) | Web server communication |
| TCP/110 | Post Office Protocol (POP3) | Receive mail into a mail client |
| UDP/123 | Network Time Protocol (NTP) | Synchronize clocks |
| TCP/143 | Internet Message Access Protocol (IMAP4) | A newer mail client protocol |
| UDP/161 | Simple Network Management Protocol (SNMP) | Gather statistics and manage network devices |
| TCP/389 | Lightweight Directory Access Protocol (LDAP) | Communicate with network directories |
| TCP/443 | Hypertext Transfer Protocol Secure (HTTPS) | Web server communication with encryption |
| TCP/445 | Server Message Block (SMB) | Windows file transfers and printer sharing |
| TCP/636 | Lightweight Directory Access Protocol Secure (LDAPS) | LDAP over SSL |
| TCP/3389 | Remote Desktop Protocol (RDP) | Graphical display of a remote device |
| H.323 | ITU Telecommunication H.32x protocol series | Voice over IP signaling |
| TCP/5060–5061 | Session Initiation Protocol (SIP) | Voice over IP signaling protocol |
Ports Every Web Designer Should Know
You don’t need to memorize the entire cheat sheet, but a handful of these ports come up constantly in web design work:
- Port 80 (HTTP) and Port 443 (HTTPS) — the two ports every website runs on. If a site loads without “https,” it’s likely still using unencrypted port 80.
- Port 21 and Port 22 (FTP/SFTP) — used to upload website files to a server; SFTP on port 22 is the more secure option and generally preferred today.
- Port 22 (SSH) — used to securely log in to a server’s command line, common when managing hosting or a VPS.
- Port 3389 (RDP) — used to remotely access a Windows server’s desktop, relevant if you ever manage a Windows-based hosting environment.
Knowing these four alone will cover the vast majority of situations a beginner web designer runs into when deploying or troubleshooting a site.
Conclusion
Well-known port numbers are the standardized addresses that let common internet services — web traffic, email, file transfers, remote logins — find the right application on a server. Ports fall into three ranges (well-known, registered, and dynamic), and the well-known range from 0–1023 covers nearly every service a beginner web designer will run into.
You don’t need to memorize the entire list to get value from this guide. Recognizing a handful of key well-known port numbers — 80 and 443 for web traffic, 21/22 for file transfers, and 22 for secure server access — is enough to make hosting setup, firewall configuration, and deployment troubleshooting far less confusing. Bookmark the cheat sheet above, and you’ll have a quick reference ready the next time a port number shows up somewhere unexpected.
