Common Ports Reference
What runs on each well-known TCP and UDP port, and whether it belongs on the internet.
A number finds that port, including ranges that contain it. Words search the service, purpose and notes.
Ports
Showing all 156 ports.
| Port | Protocol | Service | What it is for | Expose? |
|---|---|---|---|---|
| 9 | Protocol: UDP | Wake-on-LAN, discardNetwork services | Magic packets to wake computers (UDP 7 is also used). | Internet exposure: Never |
| 19 | Protocol: UDP | ChargenNetwork services | Legacy character generator test service.Pure amplification risk; disable it. | Internet exposure: Never |
| 20 | Protocol: TCP | FTP dataFile sharing and transfer | Data channel for active-mode FTP.Passive FTP uses a configurable high port range instead. | Internet exposure: Restrict |
| 21 | Protocol: TCP | FTP controlFile sharing and transfer | File Transfer Protocol commands.Passwords travel in plain text. Use SFTP (22) or FTPS. | Internet exposure: Restrict |
| 22 | Protocol: TCP | SSH, SFTP, SCPRemote access | Encrypted remote shell and file transfer.Internet-facing SSH is scanned constantly. Use keys, disable password login, and consider restricting source addresses. | Internet exposure: Restrict |
| 23 | Protocol: TCP | TelnetRemote access | Unencrypted remote terminal.Plain-text passwords; Mirai botnets recruit devices through it. | Internet exposure: Never |
| 25 | Protocol: TCP | SMTPEmail | Server-to-server mail delivery (MX traffic).Many residential ISPs and cloud providers (Google Cloud, Azure, AWS by default) block outbound 25 to stop spam. Mail clients should submit on 587 or 465, not 25. | Internet exposure: Public OK |
| 49 | Protocol: TCP | TACACS+Network services | Administrator login for network devices. | Internet exposure: Never |
| 53 | Protocol: TCP and UDP | DNSDNS and directory | Domain name lookups; TCP for large answers and zone transfers.Public only on authoritative servers. An open recursive resolver is abused for amplification attacks. | Internet exposure: Restrict |
| 67–68 | Protocol: UDP | DHCPNetwork services | Address assignment: 67 server, 68 client. | Internet exposure: Never |
| 69 | Protocol: UDP | TFTPFile sharing and transfer | Trivial FTP for network boot (PXE) and device configs.No authentication at all. | Internet exposure: Never |
| 80 | Protocol: TCP | HTTPWeb | Unencrypted web traffic.Keep it open only to redirect visitors to HTTPS and for ACME HTTP-01 certificate checks. | Internet exposure: Public OK |
| 88 | Protocol: TCP and UDP | KerberosDNS and directory | Authentication in Active Directory. | Internet exposure: Never |
| 110 | Protocol: TCP | POP3Email | Downloading mail, unencrypted or with STARTTLS.Prefer 995. | Internet exposure: Restrict |
| 111 | Protocol: TCP and UDP | rpcbind / portmapperFile sharing and transfer | Maps ONC RPC services such as NFS to ports.Abused for UDP reflection attacks. | Internet exposure: Never |
| 113 | Protocol: TCP | IdentNetwork services | Identifies the user of a TCP connection; some IRC servers still query it. | Internet exposure: Never |
| 119 | Protocol: TCP | NNTPMessaging and voice | Usenet news.Prefer 563. | Internet exposure: Restrict |
| 123 | Protocol: UDP | NTPNetwork services | Clock synchronisation.Clients need outbound only. Public servers must disable monlist, which was used for amplification attacks. | Internet exposure: Restrict |
| 135 | Protocol: TCP | MS RPC endpoint mapperRemote access | Windows DCOM and RPC services. | Internet exposure: Never |
| 137–139 | Protocol: TCP and UDP | NetBIOSFile sharing and transfer | Legacy Windows name service (137 UDP), datagrams (138 UDP) and sessions (139 TCP). | Internet exposure: Never |
| 143 | Protocol: TCP | IMAPEmail | Mailbox access, unencrypted or with STARTTLS.Prefer 993. | Internet exposure: Restrict |
| 161 | Protocol: UDP | SNMPNetwork services | Polling network devices for status and counters.v1 and v2c send the community string in clear text. | Internet exposure: Never |
| 162 | Protocol: UDP | SNMP trapsNetwork services | Alerts sent from devices to a manager. | Internet exposure: Never |
| 179 | Protocol: TCP | BGPNetwork services | Routing between networks.Only to configured peers. | Internet exposure: Restrict |
| 389 | Protocol: TCP and UDP | LDAPDNS and directory | Directory queries (Active Directory, OpenLDAP).Connectionless LDAP on UDP 389 is used for amplification. | Internet exposure: Never |
| 443 | Protocol: TCP | HTTPSWeb | Web traffic over TLS; also used by many SSL VPNs and APIs. | Internet exposure: Public OK |
| 443 | Protocol: UDP | HTTP/3 (QUIC)Web | HTTP/3 runs over QUIC on UDP 443.Browsers fall back to TCP 443 if UDP is blocked, so blocking it only costs speed. | Internet exposure: Public OK |
| 445 | Protocol: TCP | SMBFile sharing and transfer | Windows file and printer sharing, Samba.WannaCry and NotPetya spread through exposed SMB in 2017. Many ISPs block it. | Internet exposure: Never |
| 464 | Protocol: TCP and UDP | Kerberos password changeDNS and directory | kpasswd. | Internet exposure: Never |
| 465 | Protocol: TCP | SMTP submission (implicit TLS)Email | Mail clients sending through their provider, TLS from the first byte.RFC 8314 (2018) re-registered 465 for submission and recommends it over STARTTLS on 587. | Internet exposure: Public OK |
| 500 | Protocol: UDP | IKE (IPsec)VPN and tunnels | IPsec VPN key exchange.Needed on a VPN gateway, alongside 4500 and IP protocol 50 (ESP). | Internet exposure: Public OK |
| 502 | Protocol: TCP | Modbus TCPIndustrial and building control | Industrial controllers and PLCs.No authentication; anyone who reaches it can write to the controller. | Internet exposure: Never |
| 513 | Protocol: TCP | rloginRemote access | Legacy Unix remote login. | Internet exposure: Never |
| 514 | Protocol: TCP | rshRemote access | Legacy Unix remote shell (TCP 514; UDP 514 is syslog). | Internet exposure: Never |
| 514 | Protocol: UDP | SyslogNetwork services | Log forwarding. | Internet exposure: Never |
| 515 | Protocol: TCP | LPDManagement and monitoring | Legacy line printer daemon. | Internet exposure: Never |
| 520 | Protocol: UDP | RIPNetwork services | Legacy interior routing protocol. | Internet exposure: Never |
| 546–547 | Protocol: UDP | DHCPv6Network services | IPv6 address and prefix assignment: 546 client, 547 server. | Internet exposure: Never |
| 548 | Protocol: TCP | AFPFile sharing and transfer | Apple Filing Protocol (legacy macOS file sharing). | Internet exposure: Never |
| 554 | Protocol: TCP and UDP | RTSPMedia and gaming | Streaming control, used by IP cameras and NVRs.Exposed cameras are indexed by search engines such as Shodan. | Internet exposure: Never |
| 563 | Protocol: TCP | NNTPSMessaging and voice | Usenet over TLS. | Internet exposure: Public OK |
| 587 | Protocol: TCP | SMTP submission (STARTTLS)Email | Mail clients sending through their provider; upgrades to TLS with STARTTLS.Requires authentication. Either 465 or 587 is fine; 465 avoids STARTTLS downgrade risks. | Internet exposure: Public OK |
| 623 | Protocol: UDP | IPMIManagement and monitoring | Server out-of-band management (iDRAC, iLO, BMC).IPMI 2.0 leaks password hashes by design; keep BMCs on an isolated network. | Internet exposure: Never |
| 631 | Protocol: TCP and UDP | IPP / CUPSManagement and monitoring | Internet Printing Protocol. | Internet exposure: Never |
| 636 | Protocol: TCP | LDAPSDNS and directory | LDAP over TLS. | Internet exposure: Never |
| 853 | Protocol: TCP and UDP | DNS over TLS / QUICDNS and directory | Encrypted DNS: DoT on TCP (RFC 7858), DoQ on UDP (RFC 9250). | Internet exposure: Restrict |
| 873 | Protocol: TCP | rsync daemonFile sharing and transfer | rsync:// file synchronisation.Use rsync over SSH instead of an open daemon. | Internet exposure: Never |
| 902 | Protocol: TCP and UDP | VMware ESXiManagement and monitoring | ESXi host agent and remote console (conventional). | Internet exposure: Never |
| 989–990 | Protocol: TCP | FTPS (implicit TLS)File sharing and transfer | FTP over TLS: 990 control, 989 data.Explicit FTPS on port 21 with AUTH TLS is more common. | Internet exposure: Restrict |
| 993 | Protocol: TCP | IMAPSEmail | IMAP over TLS. | Internet exposure: Public OK |
| 995 | Protocol: TCP | POP3SEmail | POP3 over TLS. | Internet exposure: Public OK |
| 1080 | Protocol: TCP | SOCKS proxyNetwork services | Generic proxy protocol.An open proxy is quickly found and abused. | Internet exposure: Never |
| 1099 | Protocol: TCP | Java RMI registryDevelopment | Java Remote Method Invocation and JMX.History of deserialisation exploits. | Internet exposure: Never |
| 1194 | Protocol: UDP | OpenVPNVPN and tunnels | OpenVPN default (TCP also possible). | Internet exposure: Public OK |
| 1433 | Protocol: TCP | Microsoft SQL ServerDatabases and caches | SQL Server default instance. | Internet exposure: Never |
| 1434 | Protocol: UDP | SQL Server BrowserDatabases and caches | Locates named SQL Server instances.The 2003 Slammer worm spread through it. | Internet exposure: Never |
| 1521 | Protocol: TCP | Oracle DatabaseDatabases and caches | Oracle TNS listener (conventional). | Internet exposure: Never |
| 1701 | Protocol: UDP | L2TPVPN and tunnels | Layer 2 tunnelling, normally inside IPsec.Only together with IPsec; L2TP alone is unencrypted. | Internet exposure: Restrict |
| 1720 | Protocol: TCP | H.323Messaging and voice | Legacy video conferencing signalling. | Internet exposure: Restrict |
| 1723 | Protocol: TCP | PPTPVPN and tunnels | Legacy Microsoft VPN.Its MS-CHAPv2 authentication is broken; migrate away. | Internet exposure: Never |
| 1812–1813 | Protocol: UDP | RADIUSNetwork services | Network login (Wi-Fi WPA-Enterprise, VPN): 1812 authentication, 1813 accounting.Older kit uses 1645 and 1646. | Internet exposure: Never |
| 1883 | Protocol: TCP | MQTTMessaging and voice | IoT messaging broker, unencrypted.Open brokers leak sensor data and accept commands. | Internet exposure: Never |
| 1900 | Protocol: UDP | SSDP / UPnPNetwork services | Device discovery on local networks.Exposed SSDP is a major DDoS amplification source. | Internet exposure: Never |
| 1935 | Protocol: TCP | RTMPMedia and gaming | Live stream ingest (OBS to YouTube, Twitch).Outbound only unless you host an ingest server. | Internet exposure: Restrict |
| 2049 | Protocol: TCP and UDP | NFSFile sharing and transfer | Network File System. | Internet exposure: Never |
| 2083 | Protocol: TCP | cPanel (HTTPS)Management and monitoring | cPanel hosting control panel (conventional). | Internet exposure: Restrict |
| 2087 | Protocol: TCP | WHM (HTTPS)Management and monitoring | WebHost Manager for cPanel servers (conventional). | Internet exposure: Restrict |
| 2096 | Protocol: TCP | cPanel webmail (HTTPS)Management and monitoring | Webmail on cPanel servers (conventional). | Internet exposure: Public OK |
| 2375 | Protocol: TCP | Docker API (plain)Management and monitoring | Unencrypted Docker Engine API.Anyone who reaches it has root on the host. Never expose. | Internet exposure: Never |
| 2376 | Protocol: TCP | Docker API (TLS)Management and monitoring | Docker Engine API with TLS client certificates. | Internet exposure: Never |
| 2379–2380 | Protocol: TCP | etcdManagement and monitoring | Kubernetes cluster state: 2379 clients, 2380 peers.Holds every cluster secret. | Internet exposure: Never |
| 2525 | Protocol: TCP | SMTP alternateEmail | Unofficial alternative submission port offered by SendGrid, Mailgun and others (conventional).Useful where 25 and 587 are blocked. | Internet exposure: Restrict |
| 3000 | Protocol: TCP | Node.js, Rails, GrafanaDevelopment | Default for many Node.js and Rails development servers and for Grafana (conventional).Put Grafana behind a reverse proxy with HTTPS if it must be reachable. | Internet exposure: Never |
| 3074 | Protocol: TCP and UDP | Xbox networkMedia and gaming | Xbox online multiplayer.Usually handled by UPnP; only forward it for a "Strict NAT" problem. | Internet exposure: Restrict |
| 3128 | Protocol: TCP | Squid proxyNetwork services | Squid HTTP proxy default (conventional). | Internet exposure: Never |
| 3260 | Protocol: TCP | iSCSIFile sharing and transfer | Block storage over IP. | Internet exposure: Never |
| 3268–3269 | Protocol: TCP | AD Global CatalogDNS and directory | Forest-wide Active Directory searches (3269 over TLS). | Internet exposure: Never |
| 3306 | Protocol: TCP | MySQL / MariaDBDatabases and caches | MySQL and MariaDB server.Use an SSH tunnel or private network for remote admin. | Internet exposure: Never |
| 3389 | Protocol: TCP and UDP | RDPRemote access | Windows Remote Desktop.Never expose directly: brute-forcing and flaws such as BlueKeep make it a top ransomware entry point. Use a VPN or Remote Desktop Gateway. | Internet exposure: Never |
| 3478 | Protocol: TCP and UDP | STUN / TURNNetwork services | NAT traversal for WebRTC calls; PlayStation Network also uses 3478 to 3480.Only on a server you run as a TURN relay. | Internet exposure: Public OK |
| 3690 | Protocol: TCP | Subversion (svnserve)Development | svn:// repository access.Unencrypted by default; prefer svn+ssh or HTTPS. | Internet exposure: Restrict |
| 4190 | Protocol: TCP | ManageSieveEmail | Managing server-side mail filter rules. | Internet exposure: Restrict |
| 4200 | Protocol: TCP | Angular dev serverDevelopment | ng serve default (conventional). | Internet exposure: Never |
| 4222 | Protocol: TCP | NATSMessaging and voice | NATS messaging clients (conventional). | Internet exposure: Never |
| 4321 | Protocol: TCP | Astro dev serverDevelopment | astro dev default (conventional). | Internet exposure: Never |
| 4500 | Protocol: UDP | IPsec NAT traversalVPN and tunnels | IPsec through NAT. | Internet exposure: Public OK |
| 5000 | Protocol: TCP | Flask, AirPlay, SynologyDevelopment | Flask development server, the macOS AirPlay Receiver and Synology DSM all default to 5000 (conventional).On a Mac, "address already in use" on 5000 is usually AirPlay Receiver (System Settings, AirDrop and Handoff). | Internet exposure: Never |
| 5005 | Protocol: TCP | Java debug (JDWP)Development | Common JDWP remote debugging port (conventional).Unauthenticated; gives code execution. | Internet exposure: Never |
| 5060 | Protocol: TCP and UDP | SIPMessaging and voice | VoIP call signalling.Scanned constantly for toll fraud; restrict to your provider's addresses. Router "SIP ALG" features often break calls. | Internet exposure: Restrict |
| 5061 | Protocol: TCP | SIP over TLSMessaging and voice | Encrypted VoIP signalling. | Internet exposure: Restrict |
| 5173 | Protocol: TCP | Vite dev serverDevelopment | Vite default (conventional). | Internet exposure: Never |
| 5222 | Protocol: TCP | XMPP clientMessaging and voice | Jabber/XMPP chat clients. | Internet exposure: Public OK |
| 5269 | Protocol: TCP | XMPP serverMessaging and voice | Federation between XMPP servers. | Internet exposure: Public OK |
| 5349 | Protocol: TCP and UDP | STUN / TURN over TLSNetwork services | Encrypted TURN relay. | Internet exposure: Public OK |
| 5351 | Protocol: UDP | NAT-PMP / PCPNetwork services | Lets devices ask the router to open ports. | Internet exposure: Never |
| 5353 | Protocol: UDP | mDNS (Bonjour)DNS and directory | Local name discovery for printers, AirPlay and Chromecast.Link-local only. | Internet exposure: Never |
| 5355 | Protocol: TCP and UDP | LLMNRDNS and directory | Windows link-local name resolution.Spoofed with tools such as Responder to steal hashes; often disabled by policy. | Internet exposure: Never |
| 5432 | Protocol: TCP | PostgreSQLDatabases and caches | PostgreSQL server. | Internet exposure: Never |
| 5601 | Protocol: TCP | KibanaManagement and monitoring | Kibana web interface (conventional). | Internet exposure: Never |
| 5666 | Protocol: TCP | NRPE (Nagios)Management and monitoring | Nagios remote plug-in executor. | Internet exposure: Never |
| 5672 | Protocol: TCP | AMQP (RabbitMQ)Messaging and voice | Message queue clients. | Internet exposure: Never |
| 5900 | Protocol: TCP | VNCRemote access | Remote screen sharing (5900 + display number); also macOS Screen Sharing. | Internet exposure: Never |
| 5938 | Protocol: TCP and UDP | TeamViewerRemote access | TeamViewer connections, outbound to its servers (conventional).Needs outbound access only; no inbound rule required. | Internet exposure: Never |
| 5984 | Protocol: TCP | CouchDBDatabases and caches | CouchDB HTTP API. | Internet exposure: Never |
| 5985 | Protocol: TCP | WinRM (HTTP)Remote access | Windows Remote Management and PowerShell remoting. | Internet exposure: Never |
| 5986 | Protocol: TCP | WinRM (HTTPS)Remote access | WinRM over TLS. | Internet exposure: Never |
| 6000–6063 | Protocol: TCP | X11Remote access | X Window System displays.Use SSH X forwarding instead. | Internet exposure: Never |
| 6379 | Protocol: TCP | RedisDatabases and caches | Redis in-memory store.Exposed Redis is routinely taken over to plant SSH keys or crypto miners. | Internet exposure: Never |
| 6443 | Protocol: TCP | Kubernetes API serverManagement and monitoring | kube-apiserver (conventional).Restrict to admin networks; managed clusters offer private endpoints. | Internet exposure: Restrict |
| 6514 | Protocol: TCP | Syslog over TLSNetwork services | Encrypted log forwarding (RFC 5425). | Internet exposure: Restrict |
| 6667 | Protocol: TCP | IRCMessaging and voice | Internet Relay Chat, unencrypted.Prefer 6697. | Internet exposure: Restrict |
| 6697 | Protocol: TCP | IRC over TLSMessaging and voice | Encrypted IRC (RFC 7194). | Internet exposure: Public OK |
| 6881–6889 | Protocol: TCP and UDP | BitTorrentFile sharing and transfer | Traditional BitTorrent range (conventional); modern clients pick a random port. | Internet exposure: Restrict |
| 7000 | Protocol: TCP | AirPlayMedia and gaming | AirPlay streaming to Apple TVs and Macs (conventional). | Internet exposure: Never |
| 7777 | Protocol: TCP and UDP | Game serversMedia and gaming | Default for Terraria (TCP), ARK and many Unreal Engine games (UDP) (conventional). | Internet exposure: Public OK |
| 8000 | Protocol: TCP | Development web serverDevelopment | Django runserver, Python http.server and similar (conventional).Development servers are not hardened for public traffic. | Internet exposure: Never |
| 8006 | Protocol: TCP | Proxmox VEManagement and monitoring | Proxmox web interface (conventional). | Internet exposure: Never |
| 8009 | Protocol: TCP | AJP (Apache JServ)Web | Connector between a web server and Tomcat (conventional).Ghostcat (CVE-2020-1938) read files through exposed AJP connectors. | Internet exposure: Never |
| 8080 | Protocol: TCP | HTTP alternateWeb | Proxies, Tomcat and Jenkins defaults, and development servers.Often an admin or test interface someone forgot about. | Internet exposure: Restrict |
| 8086 | Protocol: TCP | InfluxDBDatabases and caches | InfluxDB HTTP API (conventional). | Internet exposure: Never |
| 8096 | Protocol: TCP | Jellyfin / EmbyMedia and gaming | Jellyfin and Emby HTTP (8920 for HTTPS) (conventional).Prefer a reverse proxy with HTTPS. | Internet exposure: Restrict |
| 8200 | Protocol: TCP | HashiCorp VaultManagement and monitoring | Vault API (conventional). | Internet exposure: Restrict |
| 8291 | Protocol: TCP | MikroTik WinboxManagement and monitoring | MikroTik router management (conventional).Exploited at scale in 2018 (CVE-2018-14847). | Internet exposure: Never |
| 8443 | Protocol: TCP | HTTPS alternateWeb | Secondary HTTPS, commonly appliance and controller admin pages such as UniFi and Plesk (conventional). | Internet exposure: Restrict |
| 8500 | Protocol: TCP | ConsulManagement and monitoring | Consul HTTP API and UI (conventional). | Internet exposure: Never |
| 8883 | Protocol: TCP | MQTT over TLSMessaging and voice | Encrypted MQTT.Require client authentication. | Internet exposure: Restrict |
| 8888 | Protocol: TCP | Jupyter / HTTP alternateDevelopment | Jupyter Notebook default and assorted proxies (conventional).An exposed Jupyter server is remote code execution by design. | Internet exposure: Never |
| 9000 | Protocol: TCP | PHP-FPM, Portainer, SonarQubeDevelopment | Common default for PHP-FPM FastCGI, Portainer and SonarQube (conventional).Exposed PHP-FPM lets anyone run PHP on the server. | Internet exposure: Never |
| 9001 | Protocol: TCP | Tor relay (ORPort)VPN and tunnels | Common port for Tor relays (conventional).Only if you run a relay. | Internet exposure: Public OK |
| 9042 | Protocol: TCP | CassandraDatabases and caches | Cassandra native client protocol (conventional). | Internet exposure: Never |
| 9050 | Protocol: TCP | Tor SOCKSVPN and tunnels | Local Tor client proxy (conventional). | Internet exposure: Never |
| 9090 | Protocol: TCP | Prometheus, CockpitManagement and monitoring | Prometheus server and the Cockpit Linux admin console (conventional). | Internet exposure: Never |
| 9092 | Protocol: TCP | Apache KafkaMessaging and voice | Kafka brokers (conventional). | Internet exposure: Never |
| 9100 | Protocol: TCP | Printer raw (JetDirect), node_exporterManagement and monitoring | Raw printing to network printers; also Prometheus node_exporter.Exposed printers have been hijacked to print spam. | Internet exposure: Never |
| 9200 | Protocol: TCP | Elasticsearch HTTPDatabases and caches | Elasticsearch and OpenSearch REST API (conventional).A frequent cause of large data leaks. | Internet exposure: Never |
| 9229 | Protocol: TCP | Node.js inspectorDevelopment | node --inspect debugging protocol (conventional).Debug access is full code execution; bind to 127.0.0.1 only. | Internet exposure: Never |
| 9300 | Protocol: TCP | Elasticsearch transportDatabases and caches | Node-to-node cluster traffic (conventional). | Internet exposure: Never |
| 9418 | Protocol: TCP | Git protocolDevelopment | git:// read-only access via git daemon.Unencrypted and unauthenticated; most hosting uses SSH (22) or HTTPS instead. | Internet exposure: Restrict |
| 9987 | Protocol: UDP | TeamSpeak 3Media and gaming | TeamSpeak voice (conventional).File transfer on TCP 30033; keep the ServerQuery port 10011 restricted. | Internet exposure: Public OK |
| 10000 | Protocol: TCP | WebminManagement and monitoring | Webmin server admin panel (conventional). | Internet exposure: Never |
| 10000–20000 | Protocol: UDP | RTP mediaMessaging and voice | Call audio and video; Asterisk and many PBXs default to this range (conventional). | Internet exposure: Restrict |
| 10050–10051 | Protocol: TCP | ZabbixManagement and monitoring | Zabbix agent (10050) and server (10051). | Internet exposure: Never |
| 10250 | Protocol: TCP | Kubelet APIManagement and monitoring | Node agent API in Kubernetes (conventional). | Internet exposure: Never |
| 11211 | Protocol: TCP and UDP | MemcachedDatabases and caches | Memcached cache.Exposed UDP memcached powered a then-record 1.35 Tbps attack on GitHub in 2018. | Internet exposure: Never |
| 15672 | Protocol: TCP | RabbitMQ managementMessaging and voice | RabbitMQ web console (conventional). | Internet exposure: Never |
| 19132 | Protocol: UDP | Minecraft (Bedrock)Media and gaming | Minecraft Bedrock Edition server (conventional). | Internet exposure: Public OK |
| 20000 | Protocol: TCP | DNP3Industrial and building control | Utility SCADA systems. | Internet exposure: Never |
| 25565 | Protocol: TCP | Minecraft (Java)Media and gaming | Minecraft Java Edition server (conventional). | Internet exposure: Public OK |
| 27015 | Protocol: TCP and UDP | Steam / Source serversMedia and gaming | Source engine game servers on UDP and RCON on TCP (conventional).Keep the TCP RCON port closed unless needed. | Internet exposure: Public OK |
| 27017 | Protocol: TCP | MongoDBDatabases and caches | MongoDB server.Tens of thousands of open instances were wiped for ransom in 2017. | Internet exposure: Never |
| 32400 | Protocol: TCP | Plex Media ServerMedia and gaming | Plex remote access. | Internet exposure: Restrict |
| 44818 | Protocol: TCP and UDP | EtherNet/IPIndustrial and building control | Industrial automation (CIP). | Internet exposure: Never |
| 47808 | Protocol: UDP | BACnetIndustrial and building control | Building management: heating, lighting, access control. | Internet exposure: Never |
| 51413 | Protocol: TCP and UDP | TransmissionFile sharing and transfer | Transmission BitTorrent client default (conventional). | Internet exposure: Restrict |
| 51820 | Protocol: UDP | WireGuardVPN and tunnels | Usual WireGuard listen port (conventional).Silent to unauthenticated packets, so it does not show up in port scans. | Internet exposure: Public OK |
| 64738 | Protocol: TCP and UDP | MumbleMedia and gaming | Mumble voice chat server (conventional). | Internet exposure: Public OK |
No ports match. Try a different word, or reset the filters.
- Public OK Fine to expose when you deliberately run this service for the public.
- Restrict Expose only if needed, limited to known addresses or behind a VPN.
- Never Keep off the internet; reach it over a VPN or private network.
About port numbers
An IP address gets traffic to the right machine; a port number gets it to the right program on that machine. Every TCP and UDP packet carries a source port and a destination port, each a number from 0 to 65,535. A web server listens on port 443, a mail server on 25, an SSH daemon on 22, and the operating system hands each arriving packet to whichever program is listening on its destination port. Your side of the connection uses a random, short-lived ephemeral port as its source.
Who decides which port is which
The Internet Assigned Numbers Authority (IANA) keeps the official register and splits the range into three parts:
- 0 to 1023, system or "well-known" ports, assigned through the IETF. On Unix-like systems only privileged processes may listen on them by default.
- 1024 to 49151, user or "registered" ports, assigned to applications on request, such as 3306 for MySQL or 1194 for OpenVPN.
- 49152 to 65535, dynamic or private ports, never assigned and used for ephemeral connections. Linux actually uses 32768 to 60999 by default.
An assignment is a convention, not a rule. Nothing stops SSH running on 2222 or a web server on 8080, and plenty of popular software uses ports it never registered. Those are marked "conventional" in the table. A port number therefore tells you what is probably listening, never what certainly is.
How to use this reference
Type a number to see what normally uses it, which is handy when a firewall log, router page or netstat output shows an unfamiliar port. Ranges count too, so searching for 15000 finds the RTP media range. Type a word such as "database", "mail" or "camera" to search names, purposes and notes. The filters narrow the list by protocol, category and exposure advice, and Copy link shares the exact view, for example every port that should never face the internet.
Reading the exposure column
The advice assumes a typical small business or home network behind a firewall, and answers one question: if this port were reachable from the whole internet, would that be normal?
- Public OK ports are designed to face the internet when you deliberately run the service: a website on 80 and 443, a mail server's 25, a VPN endpoint, a game server.
- Restrict ports are legitimate to expose only when there is a real need, and then only to known source addresses or behind a VPN. SSH is the usual example: fine with key-only login and an allow-list, a target for constant brute-forcing without one.
- Never ports carry databases, file sharing, remote desktops, management interfaces and local discovery protocols. They were not built to withstand the open internet, and exposed instances are quickly found by automated scanners. Reach them over a VPN.
Worked examples
Sending mail from an app. Port 25 is for servers delivering to each other, and many residential broadband providers and cloud platforms block it outbound. Applications and mail clients should submit mail to their provider on 587 (STARTTLS) or 465 (TLS from the start), with a username and password. RFC 8314 now prefers 465.
Remote working. Forwarding 3389 from a router to an office PC is one of the commonest ways ransomware gets in. Put Remote Desktop behind a VPN such as WireGuard (51820/UDP) or IPsec (500 and 4500/UDP), so only the VPN port faces the internet.
"Address already in use" on 5000. On recent Macs the AirPlay Receiver listens on 5000 and 7000, which collides with Flask's default. Change the app's port or turn AirPlay Receiver off.
Limitations
This is a curated list of ports you are likely to meet, not the full IANA register of several thousand entries. It describes what normally listens on a port; to see what is really listening on your own machine, use ss -tulpn on Linux, lsof -i -P on macOS or netstat -abno on Windows. Some services, such as FTP, SIP and many games, also need extra dynamic ports or helper rules that a single number cannot describe. Exposure advice is general guidance, not a security assessment of your network.
Privacy
The whole table is part of this page and filtering happens in your browser, so nothing you search for is sent anywhere. Only the shareable link contains your search, and only if you copy it.
Common questions
What port does HTTPS use?
HTTPS uses TCP port 443 by default, and plain HTTP uses TCP port 80. Browsers assume these ports, so a port only needs writing in an address when a site runs somewhere else, as in https://example.com:8443/. HTTP/3 also uses port 443, but over UDP instead of TCP.
What is the difference between a TCP port and a UDP port?
TCP ports and UDP ports are two separate sets of numbers, each running from 0 to 65,535, so TCP port 53 and UDP port 53 are different endpoints. TCP sets up a connection and delivers data reliably and in order, which suits web pages and email. UDP sends individual packets with no such guarantee, which suits DNS queries, voice calls and games.
What port does SSH use?
SSH uses TCP port 22 by default. SFTP and SCP file transfers use the same port, because both run over SSH. Administrators sometimes move SSH to another port such as 2222 to cut down automated login attempts, but that only reduces noise; key-only login and limiting which addresses may connect are what protect it.
Is it safe to open port 3389 for Remote Desktop?
Opening port 3389 for Remote Desktop to the whole internet is not safe. Exposed Remote Desktop services are found quickly by automated scanners and are one of the commonest ways ransomware gets in. Keep the port closed on the router and reach the computer through a VPN instead, so that only the VPN port faces the internet.