Port Reference: What's Using Each Port and Is It Safe to Kill?

Look up any TCP or UDP port number: what typically listens on it, what that service does, whether it's safe to close, and how to find it on your Mac.

A port number tells your Mac which process should receive a piece of network traffic. When you spot an unfamiliar port in a monitor, a firewall log, or an “address already in use” error, the question is always the same: what is that, and can I close it?

This reference answers it one port at a time. Each page covers what normally listens on the port, what that service actually does, whether it’s safe to kill, whether its presence is a red flag, and the exact command to find and free it on macOS.

How port numbers are organized

IANA splits the 0-65535 range into three bands:

  • Well-known ports (0-1023): Core services like HTTP (80), HTTPS (443), and SSH (22). Binding one requires admin privileges.
  • Registered ports (1024-49151): Assigned to specific applications such as MySQL (3306) or PostgreSQL (5432), but any process can bind them.
  • Dynamic / ephemeral ports (49152-65535): Handed out automatically for outgoing connections. Seeing many of these is normal.

For the full categorized table, see Common ports and what they’re used for. If a dev server won’t start because the port is taken, the port already in use guide covers the fix.

Find what’s on a port in two seconds

Every page here shows the manual lsof command. If you’d rather see every open port and its owning app in one window, Portie lists them live and lets you kill a process without touching Terminal.

Every port in this reference

Port 21 FTP, legacy file transfer Port 22 SSH and SFTP (secure remote login) Port 25 SMTP (mail transfer) Port 53 DNS (domain name resolution) Port 80 HTTP, unencrypted web traffic Port 137 NetBIOS name service (legacy Windows networking) Port 443 HTTPS, encrypted web traffic Port 445 SMB network file sharing Port 631 CUPS (macOS printing system) Port 1433 Microsoft SQL Server Port 1900 SSDP / UPnP device discovery Port 2375 Docker daemon API (unencrypted) Port 3000 Node.js, React, Rails dev servers Port 3001 Node.js/React dev server fallback, Rails API Port 3306 MySQL / MariaDB database Port 3389 Remote Desktop Protocol (RDP) Port 4200 Angular CLI dev server Port 5000 macOS AirPlay Receiver, Flask dev server Port 5001 Synology DSM (HTTPS), Flask/Node dev server fallback Port 5173 Vite dev server Port 5353 mDNS / Bonjour (local network discovery) Port 5432 PostgreSQL database Port 5900 VNC / macOS Screen Sharing Port 6379 Redis in-memory store Port 6443 Kubernetes API server Port 7000 macOS AirPlay Receiver, Cassandra Port 8000 Django, Python http.server, dev servers Port 8009 Apache Tomcat AJP connector Port 8080 HTTP alternate, dev servers, proxies Port 8443 HTTPS alternate, dev and admin consoles Port 8888 Jupyter Notebook Port 9000 php-fpm, SonarQube, MinIO, and others Port 9200 Elasticsearch HTTP API Port 11434 Ollama local LLM server Port 17500 Dropbox LAN Sync discovery Port 25565 Minecraft server Port 27017 MongoDB database Port 49152 Start of the ephemeral / dynamic port range Port 62078 lockdownd / usbmux (iOS device sync)

Try Portie Free

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

Download Free