🔌

Port Reference

Pick a port to see what runs on it, how risky it is to leave open, how to lock it down, and the commands to check it.

All 115 ports at a glance

Risk is how risky a port is to leave open to the internet. High: never expose it. Medium: only if you need it, and locked down. Low: built to face the internet. Click a port number for the commands to check it and how to lock it down.

PortProtocolServiceRiskWhat it is
20TCPFTP dataHighCarries file contents for active-mode FTP, unencrypted, alongside the control channel on port 21.
21TCPFTPHighFile Transfer Protocol. Usernames, passwords and files cross the network as plain text, and anonymous logins are often left on.
22TCPSSHLowSecure Shell: encrypted remote logins, file copies (scp, sftp) and tunnels. Built for the internet, but it gets constant password-guessing traffic.
23TCPTelnetHighOld remote login that sends everything, passwords included, as plain text. Still found on switches, printers and IoT devices, and a favourite of botnets.
25TCPSMTPMediumMail servers delivering mail to each other. A mail server needs it open; anything else listening may be an open relay that spammers will find.
53TCP/UDPDNSMediumName lookups. An authoritative server has to answer the internet; a resolver that answers anyone gets used in DDoS amplification attacks.
67UDPDHCP serverMediumHands out IP addresses on a local network. Never needed from the internet, and a rogue DHCP server on a LAN can redirect traffic.
68UDPDHCP clientLowWhere machines receive DHCP answers. Open on almost every machine that gets its address automatically.
69UDPTFTPHighTrivial FTP, used for network booting (PXE) and to load firmware and configs onto network gear. No login at all: anyone who reaches it can read files, and often write them.
80TCPHTTPMediumUnencrypted web traffic. Fine to leave open when it only redirects to HTTPS and answers Let’s Encrypt checks.
88TCP/UDPKerberosHighSign-in tickets for Active Directory and other Kerberos realms. Every domain controller listens, and attackers use it for password spraying and ticket attacks (AS-REP roasting, Kerberoasting).
110TCPPOP3HighDownloads mail, with the password sent as plain text unless STARTTLS is forced.
111TCP/UDPrpcbind (portmapper)HighTells clients which ports NFS and other RPC services use. It shows what’s running and has been used for DDoS amplification.
123UDPNTPMediumTime sync. Old servers that answer monlist queries were used for huge DDoS amplification attacks.
135TCPMicrosoft RPC endpoint mapperHighWindows uses it to find the dynamic ports (49152–65535) for WMI, DCOM, AD replication and remote management. It has a long history of worms.
137UDPNetBIOS name serviceHighOld Windows name lookups. It leaks computer and user names and can be spoofed to collect password hashes.
138UDPNetBIOS datagramHighOld Windows network browsing and announcements. Not needed on modern networks.
139TCPNetBIOS session (SMB)HighFile and printer sharing over NetBIOS, the older way to reach SMB. Same risks as port 445.
143TCPIMAPHighReads mail on the server, with the password sent as plain text unless STARTTLS is forced.
161UDPSNMPHighMonitoring and managing network gear. Default community strings like public and private give away the whole config, sometimes with write access.
162UDPSNMP trapsMediumDevices send alerts (traps) to the monitoring server here.
179TCPBGPMediumRouters exchanging routes, and Calico in Kubernetes. Only your configured peers should ever reach it.
389TCP/UDPLDAPHighDirectory lookups for Active Directory, OpenLDAP and others. Simple binds send passwords as plain text, and anonymous binds can leak every user.
443TCP/UDPHTTPSLowEncrypted web traffic, plus many APIs and VPNs (UDP 443 is HTTP/3). Built to face the internet; the risk is in what’s behind it.
445TCPSMBHighWindows file sharing, and Samba. WannaCry and many ransomware attacks spread through it.
464TCP/UDPKerberos password changeHighUsed when Kerberos users change their passwords (kpasswd). Every domain controller listens.
465TCPSMTPS (mail submission over TLS)LowMail apps sending mail through your server, encrypted from the first byte.
500UDPIKE (IPsec VPN)LowSets up IPsec VPN tunnels. Built for the internet, but old IKEv1 aggressive mode can leak password hashes.
514UDPSyslogMediumLog messages sent to a log server, unencrypted and with no check of who sent them. (TCP 514 is the old rsh, which should be off.)
587TCPSMTP submissionLowMail apps sending mail through your server, with STARTTLS and a login.
631TCPIPP (CUPS printing)MediumPrinting to CUPS and network printers. CUPS has had serious remote bugs, and open printers can leak documents.
636TCPLDAPSMediumLDAP over TLS: directory lookups with the password encrypted.
853TCPDNS over TLSLowEncrypted DNS lookups from clients that support it, such as Android and systemd-resolved.
873TCPrsync daemonHighrsync without SSH. Modules without a password let anyone list and download files, and sometimes upload them.
902TCPVMware ESXiHighRemote console and management traffic for ESXi hosts. Exposed ESXi hosts have been hit hard by ransomware.
990TCPFTPSMediumFTP over TLS (implicit). Encrypted, but still FTP, with its extra range of data ports.
993TCPIMAPSLowIMAP over TLS: reading mail on an encrypted connection.
995TCPPOP3SLowPOP3 over TLS: downloading mail on an encrypted connection.
1080TCPSOCKS proxyHighA proxy that forwards any traffic. Left open, attackers use it to hide behind your address.
1194UDPOpenVPNLowOpenVPN’s default port (UDP, sometimes TCP). Built for the internet.
1433TCPMicrosoft SQL ServerHighSQL Server’s default instance. Exposed servers get constant password guessing against the sa account.
1434UDPSQL Server BrowserHighTells clients which port each named SQL Server instance uses. It leaks instance names, and the Slammer worm spread through it.
1521TCPOracle database listenerHighClients connect to Oracle databases here.
1688TCPKMS (Windows activation)MediumWindows and Office clients activating against your Key Management Service host.
1701UDPL2TPMediumLayer 2 tunnelling, usually wrapped in IPsec (L2TP/IPsec). Without IPsec, nothing is encrypted.
1723TCPPPTPHighAn old VPN protocol whose encryption (MS-CHAPv2) is broken.
1812UDPRADIUS authenticationMediumNetwork gear, Wi-Fi and VPNs checking logins against a RADIUS server.
1813UDPRADIUS accountingMediumSession start and stop records sent to the RADIUS server.
1883TCPMQTTHighLightweight messaging for IoT devices, unencrypted. Many brokers let anyone read and publish.
1900UDPSSDP (UPnP)HighDevices announcing themselves on a LAN. Reachable from the internet, it’s used for DDoS amplification, and UPnP can open holes in your firewall.
2049TCP/UDPNFSHighUnix and Linux file sharing. Exports to * or without root_squash let anyone mount them, sometimes as root.
2181TCPZooKeeperHighCoordination for Kafka and Hadoop clusters. Often runs with no login, so anyone who reaches it can read and change cluster data.
2222TCPSSH (alternate port)LowA common second SSH port, used to cut log noise and by many containers and appliances.
2375TCPDocker API (no TLS)HighDocker’s remote API with no encryption or login. Anyone who reaches it can start a container that owns the host, and crypto-miners scan for it constantly.
2376TCPDocker API (TLS)HighDocker’s remote API over TLS. Safe only when it checks client certificates (tlsverify).
2377TCPDocker Swarm managementHighSwarm managers and workers joining and running the cluster.
2379TCPetcd clientHighKubernetes’ database of everything, Secrets included. An exposed etcd without TLS hands over the cluster.
2380TCPetcd peerHighetcd members copying data to each other.
3000TCPGrafana (and dev servers)MediumGrafana’s default port, and the default for many Node.js dev servers.
3128TCPSquid proxyHighSquid’s default port. An open proxy gets found and abused quickly.
3260TCPiSCSIHighDisk storage over the network. Without CHAP, anyone who reaches it can attach your disks.
3268TCPGlobal Catalog (AD)HighForest-wide directory lookups on Active Directory global catalog servers.
3269TCPGlobal Catalog over TLS (AD)HighGlobal catalog lookups over TLS.
3306TCPMySQL / MariaDBHighMySQL and MariaDB. Exposed servers face constant password guessing, and many have had their data swapped for a ransom note.
3389TCP/UDPRDP (Remote Desktop)HighWindows Remote Desktop (UDP 3389 makes it smoother). One of the most common ways in for ransomware gangs.
4500UDPIPsec NAT traversalLowIPsec traffic wrapped in UDP so it can pass through NAT.
4789UDPVXLANMediumOverlay networks for Docker Swarm, Kubernetes networking and data centers (Flannel uses 8472). No encryption or login: anyone who can send to it can inject traffic.
5000TCPDocker Registry (and dev servers)MediumThe default for a private Docker registry and for Flask’s dev server. macOS uses it for AirPlay.
5044TCPLogstash Beats inputMediumFilebeat and other Beats shipping logs to Logstash.
5060TCP/UDPSIPHighSets up VoIP calls. Exposed phone systems get scanned for weak extension passwords and used for toll fraud.
5061TCPSIP over TLSMediumEncrypted VoIP call setup.
5353UDPmDNS (Bonjour)MediumDevices finding each other on a LAN (printers, AirPlay, .local names). Meant for the local network only; reachable from outside, it leaks device details and amplifies DDoS.
5355UDPLLMNRHighWindows’ fallback name lookup on a LAN. Attackers answer the lookups (with tools like Responder) and collect password hashes.
5432TCPPostgreSQLHighPostgreSQL. Exposed servers face password guessing, and a superuser login can run shell commands.
5601TCPKibanaHighKibana’s web interface for Elasticsearch. With security off, anyone can read every log.
5666TCPNagios NRPEMediumThe Nagios server asking an agent to run checks. If command arguments are allowed, a caller can run almost anything.
5671TCPAMQP over TLSMediumRabbitMQ and other AMQP message brokers over TLS.
5672TCPAMQP (RabbitMQ)HighRabbitMQ and other AMQP message brokers, unencrypted.
5900TCPVNCHighRemote desktop for Linux, macOS Screen Sharing and appliances. Often weak or no passwords, and often no encryption.
5985TCPWinRM (HTTP)HighWindows Remote Management, used by PowerShell remoting and Ansible. Messages are encrypted by Kerberos or NTLM, but a valid password gives a remote shell.
5986TCPWinRM (HTTPS)HighPowerShell remoting and Ansible over TLS.
6000TCPX11HighThe X window system accepting remote programs. An open X server lets anyone watch the screen and type keystrokes.
6379TCPRedisHighRedis. Instances exposed without a password get taken over within minutes and used to plant SSH keys or crypto-miners.
6443TCPKubernetes API serverMediumkubectl and every cluster component talk to the cluster here. Often reachable on managed clusters, but anonymous access or a leaked kubeconfig hands over the cluster.
6514TCPSyslog over TLSLowEncrypted syslog between machines and log servers.
8000TCPHTTP (alternate, dev servers)MediumPython’s http.server, Django’s dev server and many apps.
8006TCPProxmox VE web interfaceHighThe Proxmox management interface, which controls every VM on the host.
8080TCPHTTP (alternate)MediumTomcat, Jenkins, proxies and many admin panels. Often a forgotten admin page with a default password.
8086TCPInfluxDBHighInfluxDB’s HTTP API. Older versions shipped with no login.
8089TCPSplunk managementHighSplunk’s REST API, used by search heads and the deployment server.
8200TCPHashiCorp VaultMediumVault’s API and web interface, holding your secrets. Apps need to reach it, which makes it a prime target.
8443TCPHTTPS (alternate)MediumAdmin consoles, Kubernetes dashboards and appliance web interfaces.
8500TCPConsul HTTP APIHighConsul’s API and web interface. Without ACLs, anyone can read and change service config, and older setups could run scripts.
8530TCPWSUS (HTTP)MediumWindows Server Update Services handing out updates to clients.
8531TCPWSUS (HTTPS)MediumWindows Server Update Services over TLS.
8883TCPMQTT over TLSMediumIoT messaging over TLS.
8888TCPJupyter (and alternate HTTP)HighJupyter Notebook’s default port. An open notebook runs any code anyone types.
9000TCPPHP-FPM (also MinIO, SonarQube)HighPHP-FPM listens here by default, and anyone who can reach FastCGI can run PHP. MinIO and SonarQube use 9000 too.
9090TCPPrometheus (also Cockpit)HighPrometheus’ web interface and API, with no login by default, showing every target and metric. Cockpit’s web console uses 9090 too.
9092TCPKafkaHighKafka brokers. The default listener has no encryption or login.
9093TCPAlertmanagerHighPrometheus Alertmanager, with no login by default: anyone who reaches it can silence your alerts.
9100TCPNode exporter (also printers)MediumPrometheus node exporter’s metrics, and raw printing (JetDirect) on network printers.
9200TCPElasticsearchHighElasticsearch’s REST API. Exposed clusters have leaked billions of records and been wiped for ransom.
9300TCPElasticsearch transportHighNodes in an Elasticsearch cluster talking to each other.
9389TCPAD Web ServicesHighActive Directory Web Services, used by the PowerShell AD module and Admin Center.
9418TCPGit daemonMediumgit:// clones, read-only, with no encryption or login.
9997TCPSplunk forwarder inputMediumUniversal forwarders sending data to Splunk indexers.
10050TCPZabbix agentMediumThe Zabbix server polling an agent.
10051TCPZabbix serverMediumAgents and proxies sending data to the Zabbix server.
10250TCPkubelet APIHighThe agent on every Kubernetes node. With anonymous access on, anyone can run commands in your pods.
10255TCPkubelet read-onlyHighAn old kubelet port that lists every pod without a login. Off in newer setups.
11211TCP/UDPMemcachedHighMemcached has no login, and its UDP port powered record-breaking DDoS amplification attacks in 2018.
15672TCPRabbitMQ managementHighRabbitMQ’s web interface and HTTP API.
27017TCPMongoDBHighMongoDB. Old versions had no login by default, and tens of thousands of open databases were wiped for ransom.
51820UDPWireGuardLowWireGuard’s usual port (each interface sets its own). It stays silent to anyone without a valid key.
Share MySysAd

⚠️ IMPORTANT DISCLAIMER: The tools and scripts on this site are provided "AS IS" for educational purposes.

Review destructive commands before executing. By using this site, you assume all risk and agree to our Full Terms of Service.

Know what’s behind every open port

Search over 100 common ports, or pick one to see the service that usually runs on it, how risky it is to leave open to the internet, how to lock it down, and the commands to check it from another machine and on the server. Every port has its own link, such as #3389 for RDP.

Common questions

What are the most common port numbers?

20–21 FTP, 22 SSH, 23 Telnet, 25 SMTP, 53 DNS, 80 HTTP, 110 POP3, 143 IMAP, 443 HTTPS, 445 SMB, 3306 MySQL, 3389 RDP, 5432 PostgreSQL, 6379 Redis, 8080 alternative HTTP and 27017 MongoDB.

Which ports should never be open to the internet?

Telnet (23), SMB (445), RDP (3389), and databases and caches such as MySQL (3306), PostgreSQL (5432), Redis (6379), Elasticsearch (9200) and MongoDB (27017). Put them behind a VPN or allow only specific IP addresses; exposed databases and RDP are among the most attacked services.

How do I check which ports are open on a Linux server?

sudo ss -tulpn lists listening TCP and UDP ports and the process behind each. A service listening on 127.0.0.1 is only reachable locally, while 0.0.0.0 or [::] means every interface.

How do I scan a host for open ports with nmap?

nmap -sV host scans the 1,000 most common TCP ports and identifies the services; add -p- for all 65,535 ports, or -sU for UDP (slow, needs root). Only scan systems you own or have permission to test.

What ports does Active Directory use?

Domain controllers use 53 (DNS), 88 (Kerberos), 123 (NTP, UDP), 135 (RPC endpoint mapper), 389 (LDAP), 445 (SMB), 464 (Kerberos password change), 636 (LDAPS), 3268–3269 (Global Catalog), 9389 (AD Web Services) and the dynamic RPC range 49152–65535. Keep every one of them off the internet, and allow them only from the machines that need them.

What ports does Kubernetes use?

Control-plane nodes use 6443 (API server), 2379–2380 (etcd), 10250 (kubelet), 10257 (controller manager) and 10259 (scheduler). Worker nodes use 10250, 10256 (kube-proxy) and 30000–32767 for NodePort services. Your network plugin adds its own, such as UDP 4789 or 8472 for VXLAN, or TCP 179 for Calico’s BGP. Only 6443 and the NodePorts you mean to publish should be reachable from outside the cluster.

What is the difference between TCP and UDP ports?

TCP sets up a connection and guarantees delivery, so it’s used for SSH, HTTP and databases. UDP sends packets with no connection, used for DNS, NTP, VPNs and streaming. The same number can mean different services on TCP and UDP, and a firewall must allow the right protocol.

Related tools: Firewall Rule Generator · Security Header Tester · All tools A–Z