Port number reference

What 87 commonly searched ports do, how risky they are to expose, and how to open them in a firewall.

PortServiceUsed forProtocolExposure risk
20 FTP data FTP active-mode data TCP High
21 FTP File transfer (control channel) TCP High
22 SSH Linux remote shell, SFTP, Git TCP Medium
23 Telnet Legacy unencrypted remote shell TCP High
25 SMTP Mail transfer between servers TCP Medium
53 DNS Domain name lookups TCP/UDP Medium
67 DHCP server Automatic IP assignment (server side) UDP Low
68 DHCP client Automatic IP assignment (client side) UDP Low
69 TFTP Device firmware and config transfer UDP High
80 HTTP Unencrypted web TCP Low
88 Kerberos Active Directory authentication TCP/UDP Medium
110 POP3 Mail download (unencrypted) TCP Medium
111 rpcbind RPC port mapper (NFS v3) TCP/UDP High
123 NTP Time synchronization UDP Medium
135 MS RPC Windows RPC endpoint mapper TCP High
137 NetBIOS name NetBIOS name service UDP High
138 NetBIOS datagram NetBIOS broadcasts UDP High
139 NetBIOS session Legacy Windows file sharing TCP High
143 IMAP Mailbox sync (unencrypted) TCP Medium
161 SNMP Network device monitoring UDP High
162 SNMP trap Device alert receiver UDP Medium
179 BGP Route exchange between routers TCP Medium
389 LDAP Directory lookups (Active Directory) TCP/UDP Medium
443 HTTPS TLS-encrypted web, HTTP/3 TCP/UDP Low
445 SMB Windows file sharing, NAS shares TCP High
465 SMTPS TLS-encrypted mail submission TCP Low
500 IKE (IPsec) IPsec VPN key exchange UDP Medium
514 Syslog Log collection UDP Medium
554 RTSP CCTV and IP camera streaming TCP/UDP High
587 SMTP submission Mail client submission (STARTTLS) TCP Low
631 IPP (CUPS) Network printing TCP Medium
636 LDAPS Encrypted LDAP TCP Low
830 NETCONF Network device config automation TCP Medium
853 DNS over TLS Encrypted DNS (DoT) TCP Low
873 rsync rsync daemon TCP Medium
993 IMAPS Encrypted IMAP TCP Low
995 POP3S Encrypted POP3 TCP Low
1080 SOCKS proxy SOCKS proxy server TCP High
1194 OpenVPN OpenVPN default UDP Medium
1433 MS SQL Server Microsoft SQL Server TCP High
1521 Oracle DB Oracle database listener TCP High
1701 L2TP L2TP/IPsec VPN UDP Medium
1723 PPTP Legacy VPN protocol TCP High
1812 RADIUS authentication Wi-Fi, VPN and device login auth UDP Medium
1813 RADIUS accounting RADIUS session records UDP Low
1883 MQTT IoT messaging (unencrypted) TCP High
2049 NFS Linux network file system TCP/UDP High
2222 SSH (alternate port) Common alternative SSH port TCP Medium
2375 Docker API (plaintext) Unencrypted Docker remote API TCP High
2376 Docker API (TLS) TLS-authenticated Docker remote API TCP Medium
2379 etcd (client) Kubernetes data store TCP High
2380 etcd (peer) etcd member replication TCP High
3000 Dev server / Grafana Node.js and React dev servers, Grafana TCP Medium
3306 MySQL / MariaDB MySQL and MariaDB TCP High
3389 RDP Windows Remote Desktop TCP/UDP High
3478 STUN / TURN WebRTC and video call NAT traversal TCP/UDP Low
4500 IPsec NAT-T IPsec through NAT UDP Medium
4789 VXLAN Overlay network tunnel UDP Medium
5000 Dev server / Synology DSM Flask dev server, Synology NAS admin TCP Medium
5001 Synology DSM (HTTPS) Synology NAS admin over HTTPS TCP Medium
5060 SIP VoIP call signaling TCP/UDP High
5061 SIP over TLS Encrypted SIP TCP Medium
5353 mDNS Local device discovery (Bonjour) UDP Low
5432 PostgreSQL PostgreSQL TCP High
5672 AMQP (RabbitMQ) RabbitMQ message queue TCP Medium
5900 VNC Remote screen control TCP High
5985 WinRM (HTTP) Windows Remote Management, PowerShell remoting TCP High
5986 WinRM (HTTPS) Encrypted Windows Remote Management TCP Medium
6379 Redis Redis in-memory store TCP High
6443 Kubernetes API Kubernetes API server TCP High
8000 Dev server Django, Python http.server TCP Medium
8080 HTTP alternate Tomcat, proxies, dev servers TCP Medium
8443 HTTPS alternate Admin consoles, Tomcat HTTPS TCP Medium
8883 MQTT over TLS Encrypted MQTT TCP Low
8888 Jupyter Jupyter Notebook / Lab TCP High
9090 Prometheus Prometheus server UI and API TCP Medium
9092 Kafka Apache Kafka broker TCP High
9093 Alertmanager Prometheus alert manager TCP Medium
9100 node_exporter Linux server metrics, network printers TCP Medium
9200 Elasticsearch (HTTP) Elasticsearch / OpenSearch REST API TCP High
9300 Elasticsearch (transport) Elasticsearch cluster traffic TCP High
10250 kubelet Kubernetes node agent API TCP High
11211 Memcached Memcached cache TCP/UDP High
15672 RabbitMQ management UI RabbitMQ web admin TCP Medium
25565 Minecraft Minecraft Java Edition server TCP Medium
27017 MongoDB MongoDB TCP High
51820 WireGuard WireGuard VPN UDP Low

Port number ranges

RangePortsNotes
Well-known0 - 1023Standard services. Opening them on Linux needs root.
Registered1024 - 49151Registered with IANA by applications.
Dynamic / ephemeral49152 - 65535Assigned by the OS to outgoing connections. The Linux default is 32768-60999.

How exposure risk is rated