← Back to Blog

Common Ports and What They're Used For

A practical reference for common TCP and UDP port numbers: web, SSH, email, databases, dev servers, and macOS-specific ports.

Every network service uses a port number so the OS knows which process receives incoming data. When you see an unfamiliar port in a port monitor or firewall log, knowing the common assignments saves you from guessing. This post is a reference for the most common port numbers grouped by category. Portie shows process names alongside port numbers in its live view; the paid remote scanner ($8.99) labels service names automatically.

Port numbers run from 0 to 65535. IANA divides them into three ranges: well-known ports (0-1023, require root/admin to bind on most systems), registered ports (1024-49151, assigned to specific services by IANA but any process can bind them), and dynamic/ephemeral ports (49152-65535, assigned automatically for outgoing connections). A separate post covers ephemeral ports in depth.

Web and HTTP

PortProtocolDescription
80HTTPUnencrypted web traffic. Browsers connect here when no HTTPS is specified.
443HTTPSEncrypted web traffic using TLS. Most web traffic today uses this port.
8080HTTP (alt)Common for development servers and HTTP proxies. Not reserved, so any app can use it.
8443HTTPS (alt)Development HTTPS servers and some web APIs.

Secure Shell and Remote Access

PortProtocolDescription
22SSHEncrypted remote login and file transfer (SFTP runs over SSH). Also used for secure tunnels.
3389RDPWindows Remote Desktop Protocol. Used to connect to Windows machines remotely.

Email

PortProtocolDescription
25SMTPMail server to mail server delivery. ISPs often block outbound 25 from residential connections.
587SMTP SubmissionYour email client uses this to send mail through your provider (with authentication).
465SMTPSSMTP over TLS. Older than 587 but still common.
143IMAPEmail retrieval without downloading; messages stay on the server.
993IMAPSIMAP over TLS.
110POP3Downloads email to your device and typically deletes from server.
995POP3SPOP3 over TLS.

DNS and Network Infrastructure

PortProtocolDescription
53DNSDomain name resolution (TCP and UDP). Used for every domain lookup.
67 / 68DHCP67 is the server port, 68 is the client. Assigns IP addresses automatically.
123NTPNetwork Time Protocol. Keeps your system clock synchronized.

Databases

PortDatabaseNotes
3306MySQL / MariaDB
5432PostgreSQL
27017MongoDB
6379Redis
1433Microsoft SQL Server

Databases default to localhost only. If you see a database port in your firewall or accessible remotely, check your configuration.

Development Servers

PortCommon use
3000Node.js, React (Create React App), Ruby on Rails default
3001Common second instance when 3000 is taken
5173Vite dev server default
4200Angular CLI default
8000Django, Python http.server default
8080Many Java frameworks (Spring Boot), HTTP proxies

macOS-Specific Ports

  • 5000 and 7000: AirPlay Receiver (macOS Monterey and later, process: ControlCenter). These frequently conflict with Flask and other dev servers that default to port 5000.
  • 5353: mDNS / Bonjour, used for local network service discovery. You will see this in use by printers, AirPlay, and many Apple services.
  • 49152-65535: Ephemeral/dynamic range, assigned automatically for outgoing connections. Seeing many of these in a port monitor is normal.

File Sharing and Transfer

PortProtocolDescription
445SMBWindows file sharing, also used by macOS for network drives.
548AFPApple Filing Protocol, legacy Mac file sharing. Largely replaced by SMB.
21FTPUnencrypted file transfer. Rarely used today due to security concerns.
22SFTPSecure file transfer running over SSH (same port as SSH).

Portie’s remote scanner labels service names automatically when you scan a host, so you don’t have to cross-reference this list manually. For local ports, the grouped-by-app view shows the process owning each port. Combined with this reference, identifying unfamiliar port activity is quick. Portie

Try Portie Free

See every open port on your Mac, which app owns it, and kill processes from the list.

Download Free