Common port numbers
An IP address gets traffic to a device. The port number says which service on that device should receive it. Choose a port for what it does, whether it is encrypted, and whether it should ever be open to the internet.
| Port | Service | Used for | Transport |
|---|---|---|---|
| 20 | FTP data | The data channel of active-mode FTP | TCP |
| 21 | FTP | File transfer commands, unencrypted | TCP |
| 22 | SSH | Secure remote login and file transfer (SFTP) | TCP |
| 23 | Telnet | Remote command line, unencrypted | TCP |
| 25 | SMTP | Mail delivery between mail servers | TCP |
| 43 | Whois | Looking up who registered a domain or IP range | TCP |
| 49 | TACACS+ | Controlling administrator logins on network equipment | TCP |
| 53 | DNS | Turning names such as example.org into IP addresses | UDP, TCP |
| 67 | DHCP server | Handing out IP addresses automatically | UDP |
| 68 | DHCP client | Receiving an automatically assigned IP address | UDP |
| 69 | TFTP | Simple file transfer for network booting and firmware | UDP |
| 80 | HTTP | Unencrypted web pages | TCP |
| 88 | Kerberos | Sign-in tickets on Windows domains and Unix realms | TCP, UDP |
| 110 | POP3 | Downloading mail to one device, unencrypted | TCP |
| 111 | rpcbind (portmapper) | Tells clients which port an RPC service such as NFS is on | TCP, UDP |
| 119 | NNTP | Usenet newsgroups, unencrypted | TCP |
| 123 | NTP | Keeping clocks set to the correct time | UDP |
| 135 | Microsoft RPC endpoint mapper | Directs Windows remote management calls to the right port | TCP |
| 137 | NetBIOS name service | Finding Windows computers by name on a local network | UDP |
| 138 | NetBIOS datagram service | Legacy Windows network browsing broadcasts | UDP |
| 139 | NetBIOS session service | Older Windows file sharing over NetBIOS | TCP |
| 143 | IMAP | Reading mail kept on the server, unencrypted by default | TCP |
| 161 | SNMP | Reading status and settings from network equipment | UDP |
| 162 | SNMP trap | Alerts sent by network equipment to a monitoring system | UDP |
| 179 | BGP | How networks on the internet exchange routes | TCP |
| 389 | LDAP | Looking up users and groups in a directory | TCP, UDP |
| 443 | HTTPS | Encrypted web pages | TCP, UDP |
| 445 | SMB | Windows file and printer sharing | TCP |
| 464 | Kerberos password change | Changing a password on a Kerberos or Active Directory system | TCP, UDP |
| 465 | SMTP submission over TLS | Sending mail from an app, encrypted from the first byte | TCP |
| 500 | IKE (IPsec key exchange) | Setting up IPsec VPN tunnels | UDP |
| 514 | Syslog | Devices sending their log messages to a central server | UDP |
| 515 | LPD (Line Printer Daemon) | An older network printing protocol | TCP |
| 520 | RIP | An early routing protocol for small networks | UDP |
| 546 | DHCPv6 client | Receiving IPv6 settings and prefixes | UDP |
| 547 | DHCPv6 server | Handing out IPv6 addresses and settings | UDP |
| 548 | AFP | Apple's older file sharing protocol | TCP |
| 554 | RTSP | Live video from IP cameras | TCP |
| 563 | NNTP over TLS | Usenet newsgroups, encrypted | TCP |
| 587 | SMTP submission | Sending mail from an app to your mail provider | TCP |
| 623 | IPMI | Out-of-band management of server hardware | UDP |
| 631 | IPP (Internet Printing Protocol) | Modern network printing, including AirPrint | TCP, UDP |
| 636 | LDAP over TLS | Encrypted directory lookups and sign-in checks | TCP |
| 853 | DNS over TLS | Encrypted DNS lookups | TCP, UDP |
| 873 | rsync | The rsync file synchronisation service | TCP |
| 902 | VMware ESXi | VMware host management and virtual machine consoles | TCP, UDP |
| 989 | FTPS data | The data channel of implicit FTPS | TCP |
| 990 | FTPS | FTP inside TLS encryption | TCP |
| 993 | IMAP over TLS | Reading mail kept on the server, encrypted | TCP |
| 995 | POP3 over TLS | Downloading mail to one device, encrypted | TCP |
| 1080 | SOCKS proxy | General-purpose proxying of connections | TCP |
| 1194 | OpenVPN | OpenVPN tunnels | UDP, TCP |
| 1433 | Microsoft SQL Server | Connections to Microsoft SQL Server databases | TCP |
| 1434 | SQL Server Browser | Tells clients which port a SQL Server instance is using | UDP |
| 1521 | Oracle Database listener | Connections to Oracle databases | TCP |
| 1701 | L2TP | The tunnelling half of L2TP/IPsec VPNs | UDP |
| 1723 | PPTP | An obsolete VPN protocol | TCP |
| 1812 | RADIUS authentication | Checking sign-ins for Wi-Fi, VPNs and network equipment | UDP |
| 1813 | RADIUS accounting | Recording who connected, for how long and how much data | UDP |
| 1883 | MQTT | Messages between smart devices and their hub | TCP |
| 1900 | SSDP (UPnP discovery) | Devices announcing themselves for UPnP | UDP |
| 1935 | RTMP | Sending a live video stream to a streaming service | TCP |
| 2049 | NFS | Unix and Linux network file shares | TCP, UDP |
| 2082 | cPanel (HTTP) | The cPanel hosting control panel, unencrypted | TCP |
| 2083 | cPanel (HTTPS) | The cPanel hosting control panel | TCP |
| 2086 | WHM (HTTP) | The WebHost Manager server panel, unencrypted | TCP |
| 2087 | WHM (HTTPS) | The WebHost Manager server panel | TCP |
| 2181 | Apache ZooKeeper | Coordination service used by Kafka, Hadoop and others | TCP |
| 2222 | SSH alternate (unofficial) | SSH moved off its standard port, and the DirectAdmin panel | TCP |
| 2375 | Docker API (unencrypted) | Remote control of the Docker engine, with no protection | TCP |
| 2376 | Docker API (TLS) | Remote control of the Docker engine, with certificates | TCP |
| 2379 | etcd | The key-value store behind Kubernetes | TCP |
| 2456 | Valheim | Valheim dedicated servers | UDP |
| 2525 | SMTP alternate (unofficial) | A fallback port for sending mail | TCP |
| 3000 | Development servers and Grafana | Node.js test servers, Grafana, Gitea | TCP |
| 3074 | Xbox network | Xbox online play and party chat | UDP, TCP |
| 3128 | Squid proxy | The Squid web proxy and cache | TCP |
| 3268 | Active Directory Global Catalog | Searching across every domain in an Active Directory forest | TCP |
| 3306 | MySQL and MariaDB | Connections to MySQL and MariaDB databases | TCP |
| 3389 | RDP | Windows Remote Desktop | TCP, UDP |
| 3478 | STUN and TURN | Helping calls and games connect through home routers | UDP, TCP |
| 3690 | Subversion | The svn:// protocol of the Subversion version control system | TCP |
| 4190 | ManageSieve | Editing server-side mail filter rules | TCP |
| 4200 | Angular development server | The Angular CLI test server | TCP |
| 4444 | Metasploit default listener | A port strongly associated with remote-control malware | TCP |
| 4500 | IPsec NAT traversal | IPsec VPN traffic passing through home routers | UDP |
| 5000 | Development servers, AirPlay, Synology | Flask test servers, macOS AirPlay Receiver, Synology DSM | TCP |
| 5001 | Synology DSM (HTTPS), iperf2 | Synology's encrypted admin page, and iperf2 speed tests | TCP, UDP |
| 5060 | SIP | Setting up internet phone calls (VoIP) | UDP, TCP |
| 5061 | SIP over TLS | Encrypted call setup for internet telephony | TCP |
| 5173 | Vite development server | The Vite test server for web projects | TCP |
| 5201 | iperf3 | Network speed tests between two of your own machines | TCP, UDP |
| 5222 | XMPP (client) | Chat apps connecting to an XMPP (Jabber) server | TCP |
| 5223 | Apple Push Notification service | Push notifications on iPhone, iPad and Mac | TCP |
| 5228 | Google Firebase Cloud Messaging | Push notifications on Android devices | TCP |
| 5269 | XMPP (server to server) | XMPP servers exchanging messages with each other | TCP |
| 5349 | STUN and TURN over TLS | Encrypted relay for video calls | TCP, UDP |
| 5351 | NAT-PMP and PCP | Apps asking the router to open a port for them | UDP |
| 5353 | mDNS | Finding printers, speakers and other devices on the local network | UDP |
| 5355 | LLMNR | Windows name lookups on the local network without DNS | UDP |
| 5357 | WSDAPI (Web Services for Devices) | Windows discovering printers and scanners on the local network | TCP |
| 5432 | PostgreSQL | Connections to PostgreSQL databases | TCP |
| 5601 | Kibana | The Kibana dashboard for Elasticsearch | TCP |
| 5672 | AMQP (RabbitMQ) | Message queue traffic between applications | TCP |
| 5683 | CoAP | A lightweight web-like protocol for small devices | UDP |
| 5900 | VNC | Remote screen sharing | TCP |
| 5938 | TeamViewer | The TeamViewer remote support service | TCP, UDP |
| 5984 | CouchDB | The Apache CouchDB database API | TCP |
| 5985 | WinRM (HTTP) | Windows remote management and PowerShell remoting | TCP |
| 5986 | WinRM (HTTPS) | Windows remote management over an encrypted connection | TCP |
| 6000 | X11 | The Unix and Linux graphical display system | TCP |
| 6379 | Redis | The Redis in-memory data store and cache | TCP |
| 6443 | Kubernetes API server | The control point of a Kubernetes cluster | TCP |
| 6514 | Syslog over TLS | Encrypted delivery of log messages | TCP |
| 6667 | IRC | Internet Relay Chat, unencrypted | TCP |
| 6697 | IRC over TLS | Internet Relay Chat, encrypted | TCP |
| 6881 | BitTorrent | The traditional BitTorrent listening port | TCP, UDP |
| 7000 | AirPlay, and Cassandra | AirPlay on Apple devices, or Cassandra cluster traffic | TCP |
| 7547 | TR-069 (CWMP) | Internet providers managing customers' modems remotely | TCP |
| 7777 | Game servers (Terraria, Unreal Engine, ARK) | The default port of many self-hosted game servers | UDP, TCP |
| 8000 | Development web server | Test web servers, and some camera systems | TCP |
| 8006 | Proxmox VE | The Proxmox virtualisation management page | TCP |
| 8008 | HTTP alternate (Chromecast) | A second HTTP port, used by Google Cast devices | TCP |
| 8009 | Google Cast, and Tomcat AJP | Controlling Chromecast devices, or linking a web server to Tomcat | TCP |
| 8080 | HTTP alternate | A second web server, proxy or admin page | TCP |
| 8086 | InfluxDB | The InfluxDB time-series database API | TCP |
| 8096 | Jellyfin and Emby | The Jellyfin and Emby home media servers | TCP |
| 8118 | Privoxy | The Privoxy filtering web proxy | TCP |
| 8123 | Home Assistant | The Home Assistant smart-home dashboard | TCP |
| 8291 | MikroTik Winbox | The MikroTik router management application | TCP |
| 8443 | HTTPS alternate | An encrypted admin page or second HTTPS service | TCP |
| 8728 | MikroTik API | Scripted management of MikroTik routers | TCP |
| 8883 | MQTT over TLS | Encrypted messages between devices and a broker | TCP |
| 8888 | Jupyter and other development servers | Jupyter Notebook and test web servers | TCP |
| 9000 | PHP-FPM, Portainer, SonarQube, MinIO | An application port shared by many server products | TCP |
| 9001 | Tor relay (ORPort) | Connections between Tor relays | TCP |
| 9042 | Apache Cassandra | Client connections to Cassandra databases | TCP |
| 9050 | Tor SOCKS proxy | The local entrance to the Tor network | TCP |
| 9090 | Prometheus, Cockpit | The Prometheus monitoring server, or the Cockpit admin page | TCP |
| 9092 | Apache Kafka | Kafka event streaming brokers | TCP |
| 9100 | Raw printing (JetDirect), Node Exporter | Sending print jobs straight to a network printer | TCP |
| 9150 | Tor Browser SOCKS proxy | The Tor instance bundled with Tor Browser | TCP |
| 9200 | Elasticsearch | The Elasticsearch search and analytics API | TCP |
| 9300 | Elasticsearch transport | Communication between the nodes of an Elasticsearch cluster | TCP |
| 9418 | Git | The git:// protocol for read-only repository access | TCP |
| 9443 | HTTPS alternate (Portainer and others) | Encrypted management pages | TCP |
| 10000 | Webmin | The Webmin server administration panel | TCP |
| 10250 | Kubelet API | The agent on each Kubernetes node | TCP |
| 11211 | Memcached | The Memcached in-memory cache | TCP, UDP |
| 11434 | Ollama | The Ollama local AI model server | TCP |
| 15672 | RabbitMQ management | The RabbitMQ web management page and API | TCP |
| 19132 | Minecraft (Bedrock Edition) | Minecraft Bedrock Edition servers | UDP |
| 25565 | Minecraft (Java Edition) | Minecraft Java Edition servers | TCP |
| 27015 | Steam and Source game servers | Game servers for Counter-Strike, Team Fortress 2 and many Steam games | UDP, TCP |
| 27017 | MongoDB | Connections to MongoDB databases | TCP |
| 31337 | Back Orifice | The port of a famous 1990s remote-control trojan | TCP, UDP |
| 32400 | Plex Media Server | Streaming your own media library with Plex | TCP |
| 37777 | Dahua cameras and recorders | The control port of Dahua video surveillance equipment | TCP |
| 41641 | Tailscale | Direct connections between Tailscale devices | UDP |
| 49152 | First dynamic port (UPnP, Windows) | The start of the range used for temporary and automatic ports | TCP, UDP |
| 51413 | Transmission (BitTorrent) | The Transmission BitTorrent client | TCP, UDP |
| 51820 | WireGuard | WireGuard VPN tunnels | UDP |
| 62078 | iPhone sync | The service iPhones use to sync with a computer over Wi-Fi | TCP |
How port numbers are organised
A port is a number from 0 to 65535 that says which program on a device a connection is for. Ports 0 to 1023 are the well-known ports reserved for standard services such as web and mail. Ports 1024 to 49151 are registered for particular applications. Ports 49152 to 65535 are set aside for the temporary, outgoing side of connections.
TCP and UDP
The same port number exists separately for TCP and for UDP. TCP sets up a connection and guarantees delivery, which suits web pages, mail and file transfer. UDP just sends, which suits calls, games, DNS and video where a late packet is useless anyway.
Where this list comes from
The official list of port numbers is kept by IANA, and each port's page shows what that registry says. In practice many ports are known for software that simply adopted a number without registering it, so each page also describes the real-world use. Any program can be configured to listen on any port: a port number is a convention, not a guarantee of what is running.
Is an open port dangerous?
A port is open when a program is listening on it and the firewall lets connections through. That is necessary for running a server and harmless in itself. The risk is a service you did not mean to expose, or one that is out of date. Home routers block incoming connections by default, so nothing is reachable from the internet unless you have set up port forwarding or the router has done it automatically through UPnP.