subbing/24
Subbing › Guides › Ports cheat sheet

Port numbers cheat sheet

All 146 ports Subbing drills, grouped the way the app groups them. Exam core first, then the services a port scan finds, then databases and admin, then the industrial protocols.

Ports listed under several sets appear in each. Jump to exam core, nmap top 100, databases, admin and cloud or industrial / OT.

Start drilling ports & protocolsGet the Android app

Exam core 44 ports

PortServiceTransportNote
20FTP dataTCPFTP data channel (active mode)
21FTPTCPFile Transfer Protocol control channel; credentials in clear text
22SSHTCPSecure Shell, also SFTP and SCP
23TelnetTCPUnencrypted remote terminal; still common on PLCs and switches
25SMTPTCPMail transfer between servers
53DNSTCP/UDPName resolution; UDP queries, TCP for zone transfers and large answers
67DHCP serverUDPDHCP server listens here
68DHCP clientUDPDHCP client side
69TFTPUDPTrivial FTP; firmware, configs and PXE, no authentication
80HTTPTCPPlain web traffic
88KerberosTCP/UDPKerberos authentication (Active Directory KDC)
110POP3TCPMail retrieval, download and delete
123NTPUDPNetwork Time Protocol
135MS RPCTCPMicrosoft RPC endpoint mapper; DCOM and classic OPC DA start here
137NetBIOS nameUDPNetBIOS name service
139NetBIOS sessionTCPNetBIOS session service; SMB over NetBIOS
143IMAPTCPMail retrieval, server-side folders
161SNMPUDPSNMP agent queries; v1/v2c community strings travel in clear text
162SNMP trapUDPSNMP traps to the manager
179BGPTCPBorder Gateway Protocol
389LDAPTCP/UDPDirectory lookups (Active Directory)
443HTTPSTCPWeb over TLS
445SMBTCPWindows file sharing directly over TCP
465SMTPSTCPSMTP with implicit TLS
500IKEUDPIPsec key exchange
514SyslogUDPLog forwarding on UDP; 514/TCP is rsh (remote shell)
587SMTP submissionTCPMail submission from clients with STARTTLS
636LDAPSTCPLDAP over TLS
990FTPSTCPFTP with implicit TLS
993IMAPSTCPIMAP over TLS
995POP3STCPPOP3 over TLS
1433MS SQLTCPMicrosoft SQL Server
1521Oracle DBTCPOracle TNS listener
1701L2TPUDPLayer 2 Tunneling Protocol
1723PPTPTCPLegacy VPN; MS-CHAPv2 is broken
1812RADIUS authUDPRADIUS authentication
1813RADIUS accountingUDPRADIUS accounting
3306MySQLTCPMySQL / MariaDB
3389RDPTCPRemote Desktop Protocol
5060SIPTCP/UDPVoIP signalling (5061 for TLS)
5432PostgreSQLTCPPostgreSQL
5900VNCTCPVirtual Network Computing; 5900 + display number
8080HTTP altTCPThe usual alternate HTTP port: proxies, Tomcat, dev servers
8443HTTPS altTCPAlternate HTTPS port: Tomcat, Plesk, appliances

nmap top 100 70 ports

PortServiceTransportNote
7EchoTCP/UDPEcho service; legacy diagnostics, usually disabled
9DiscardTCP/UDPDiscard service; a null sink, legacy
13DaytimeTCP/UDPDaytime service; returns the date as text
21FTPTCPFile Transfer Protocol control channel; credentials in clear text
22SSHTCPSecure Shell, also SFTP and SCP
23TelnetTCPUnencrypted remote terminal; still common on PLCs and switches
25SMTPTCPMail transfer between servers
37TimeTCP/UDPTime protocol (RFC 868); 32-bit seconds since 1900, predates NTP
53DNSTCP/UDPName resolution; UDP queries, TCP for zone transfers and large answers
79FingerTCPUser information lookup; a classic enumeration target
80HTTPTCPPlain web traffic
81HTTP altTCPA second web port (IANA: hosts2-ns); common on cameras and embedded devices
88KerberosTCP/UDPKerberos authentication (Active Directory KDC)
110POP3TCPMail retrieval, download and delete
111rpcbindTCP/UDPONC RPC port mapper; lists NFS and other RPC services
113IdentTCPIdentification protocol; IRC servers still query it
119NNTPTCPUsenet news transfer
135MS RPCTCPMicrosoft RPC endpoint mapper; DCOM and classic OPC DA start here
139NetBIOS sessionTCPNetBIOS session service; SMB over NetBIOS
143IMAPTCPMail retrieval, server-side folders
179BGPTCPBorder Gateway Protocol
199SMUXTCPSNMP multiplexing; often open on Linux hosts running snmpd
389LDAPTCP/UDPDirectory lookups (Active Directory)
427SLPTCP/UDPService Location Protocol; printers, ESXi; UDP amplification abuse
443HTTPSTCPWeb over TLS
445SMBTCPWindows file sharing directly over TCP
465SMTPSTCPSMTP with implicit TLS
513rloginTCPBerkeley remote login; trust via rhosts, no encryption
514SyslogUDPLog forwarding on UDP; 514/TCP is rsh (remote shell)
515LPDTCPLine printer daemon
548AFPTCPApple Filing Protocol (macOS file sharing)
554RTSPTCPReal Time Streaming Protocol; IP cameras and media servers
587SMTP submissionTCPMail submission from clients with STARTTLS
631IPPTCPInternet Printing Protocol; CUPS web interface
646LDPTCP/UDPMPLS Label Distribution Protocol
873rsyncTCPrsync daemon; anonymous modules leak files
990FTPSTCPFTP with implicit TLS
993IMAPSTCPIMAP over TLS
995POP3STCPPOP3 over TLS
1025Windows RPC (dynamic)TCPLegacy Windows dynamic RPC endpoints (1025-1029); modern Windows uses 49152+
1433MS SQLTCPMicrosoft SQL Server
1720H.323TCPH.323 call signalling (Q.931) for VoIP and video conferencing
1723PPTPTCPLegacy VPN; MS-CHAPv2 is broken
1900SSDPUDPUPnP discovery; amplification abuse
2000Cisco SCCPTCPCisco Skinny Client Control Protocol (IP phones)
2049NFSTCP/UDPNetwork File System; check exports for no_root_squash
2121FTP altTCPAlternate FTP port (IANA: ccproxy-ftp)
3000GrafanaTCPGrafana by default; also Node, Rails and other dev servers
3128Squid proxyTCPSquid HTTP proxy
3306MySQLTCPMySQL / MariaDB
3389RDPTCPRemote Desktop Protocol
4899RadminTCPRadmin remote control
5000Docker registryTCPDocker registry, Flask dev server, Synology DSM; nmap labels it upnp
5060SIPTCP/UDPVoIP signalling (5061 for TLS)
5357WSDAPITCPWindows Web Services for Devices (network printers, discovery)
5432PostgreSQLTCPPostgreSQL
5631pcAnywhereTCPSymantec pcAnywhere data (legacy remote control)
5666NRPETCPNagios Remote Plugin Executor
5800VNC (HTTP)TCPVNC browser viewer; the real VNC port is 5900
5900VNCTCPVirtual Network Computing; 5900 + display number
6000X11TCPX Window System; 6000 + display number
8000HTTP altTCPAlternate web port; Python http.server, Django dev server
8008HTTP altTCPAlternate web port (IANA: http-alt)
8009AJPTCPTomcat AJP connector (Ghostcat, CVE-2020-1938)
8080HTTP altTCPThe usual alternate HTTP port: proxies, Tomcat, dev servers
8081HTTP altTCPAlternate web port; Nexus, McAfee ePO agent
8443HTTPS altTCPAlternate HTTPS port: Tomcat, Plesk, appliances
8888HTTP altTCPAlternate web port; Jupyter Notebook
9100JetDirectTCPRaw printer port (HP JetDirect); also the Prometheus node exporter
10000WebminTCPWebmin admin UI (nmap labels it snet-sensor-mgmt)

Databases, admin & cloud 90 ports

PortServiceTransportNote
21FTPTCPFile Transfer Protocol control channel; credentials in clear text
22SSHTCPSecure Shell, also SFTP and SCP
23TelnetTCPUnencrypted remote terminal; still common on PLCs and switches
25SMTPTCPMail transfer between servers
53DNSTCP/UDPName resolution; UDP queries, TCP for zone transfers and large answers
67DHCP serverUDPDHCP server listens here
69TFTPUDPTrivial FTP; firmware, configs and PXE, no authentication
80HTTPTCPPlain web traffic
88KerberosTCP/UDPKerberos authentication (Active Directory KDC)
110POP3TCPMail retrieval, download and delete
111rpcbindTCP/UDPONC RPC port mapper; lists NFS and other RPC services
123NTPUDPNetwork Time Protocol
135MS RPCTCPMicrosoft RPC endpoint mapper; DCOM and classic OPC DA start here
137NetBIOS nameUDPNetBIOS name service
139NetBIOS sessionTCPNetBIOS session service; SMB over NetBIOS
143IMAPTCPMail retrieval, server-side folders
161SNMPUDPSNMP agent queries; v1/v2c community strings travel in clear text
162SNMP trapUDPSNMP traps to the manager
389LDAPTCP/UDPDirectory lookups (Active Directory)
443HTTPSTCPWeb over TLS
445SMBTCPWindows file sharing directly over TCP
464Kerberos passwordTCP/UDPKerberos password change (kpasswd)
500IKEUDPIPsec key exchange
514SyslogUDPLog forwarding on UDP; 514/TCP is rsh (remote shell)
587SMTP submissionTCPMail submission from clients with STARTTLS
593RPC over HTTPTCPMicrosoft RPC over HTTP endpoint mapper (Exchange, DCOM)
623IPMIUDPBaseboard management (RMCP+); cipher 0 and hash leaks are classic findings
631IPPTCPInternet Printing Protocol; CUPS web interface
636LDAPSTCPLDAP over TLS
873rsyncTCPrsync daemon; anonymous modules leak files
902VMware ESXiTCP/UDPVMware ESXi host agent / authentication daemon
993IMAPSTCPIMAP over TLS
995POP3STCPPOP3 over TLS
1080SOCKSTCPSOCKS proxy
1194OpenVPNTCP/UDPOpenVPN default, usually UDP
1433MS SQLTCPMicrosoft SQL Server
1434MS SQL browserUDPSQL Server Browser; resolves named instances to ports
1521Oracle DBTCPOracle TNS listener
1701L2TPUDPLayer 2 Tunneling Protocol
1723PPTPTCPLegacy VPN; MS-CHAPv2 is broken
1812RADIUS authUDPRADIUS authentication
1813RADIUS accountingUDPRADIUS accounting
1883MQTTTCPMQTT broker (IIoT telemetry); anonymous access is common
1900SSDPUDPUPnP discovery; amplification abuse
2049NFSTCP/UDPNetwork File System; check exports for no_root_squash
2181ZooKeeperTCPApache ZooKeeper client port
2375Docker APITCPDocker daemon without TLS; exposure means root on the host
2376Docker API (TLS)TCPDocker daemon with TLS
2379etcdTCPetcd client API; holds Kubernetes secrets
3000GrafanaTCPGrafana by default; also Node, Rails and other dev servers
3128Squid proxyTCPSquid HTTP proxy
3260iSCSITCPiSCSI target
3268Global CatalogTCPActive Directory Global Catalog over LDAP; 3269 for TLS
3306MySQLTCPMySQL / MariaDB
3389RDPTCPRemote Desktop Protocol
3690SubversionTCPsvnserve
4500IPsec NAT-TUDPIPsec NAT traversal (ESP in UDP)
5000Docker registryTCPDocker registry, Flask dev server, Synology DSM; nmap labels it upnp
5432PostgreSQLTCPPostgreSQL
5601KibanaTCPKibana web UI for Elasticsearch
5666NRPETCPNagios Remote Plugin Executor
5672AMQPTCPAMQP (RabbitMQ); management UI on 15672
5900VNCTCPVirtual Network Computing; 5900 + display number
5984CouchDBTCPApache CouchDB HTTP API
5985WinRMTCPWindows Remote Management over HTTP (PowerShell remoting); 5986 for HTTPS
5986WinRM (HTTPS)TCPWindows Remote Management over HTTPS
6000X11TCPX Window System; 6000 + display number
6379RedisTCPRedis; unauthenticated by default in older versions
6443Kubernetes APITCPKubernetes API server
7001WebLogicTCPOracle WebLogic (T3 and HTTP)
8000HTTP altTCPAlternate web port; Python http.server, Django dev server
8006ProxmoxTCPProxmox VE web interface
8009AJPTCPTomcat AJP connector (Ghostcat, CVE-2020-1938)
8080HTTP altTCPThe usual alternate HTTP port: proxies, Tomcat, dev servers
8086InfluxDBTCPInfluxDB HTTP API
8200VaultTCPHashiCorp Vault API
8291MikroTik WinboxTCPMikroTik RouterOS Winbox management
8443HTTPS altTCPAlternate HTTPS port: Tomcat, Plesk, appliances
8500ConsulTCPHashiCorp Consul HTTP API and UI
8883MQTT (TLS)TCPMQTT over TLS
9090PrometheusTCPPrometheus server and web UI
9092KafkaTCPApache Kafka broker
9100JetDirectTCPRaw printer port (HP JetDirect); also the Prometheus node exporter
9200ElasticsearchTCPElasticsearch REST API; 9300 is the transport port
10000WebminTCPWebmin admin UI (nmap labels it snet-sensor-mgmt)
10250KubeletTCPKubelet API; anonymous access gives container exec
11211memcachedTCP/UDPmemcached; UDP amplification abuse
15672RabbitMQ managementTCPRabbitMQ management UI (guest/guest)
27017MongoDBTCPMongoDB; no auth by default in older versions
51820WireGuardUDPWireGuard VPN default

Industrial / OT 37 ports

PortServiceTransportNote
21FTPTCPFile Transfer Protocol control channel; credentials in clear text
23TelnetTCPUnencrypted remote terminal; still common on PLCs and switches
69TFTPUDPTrivial FTP; firmware, configs and PXE, no authentication
80HTTPTCPPlain web traffic
102S7comm (ISO-TSAP)TCPSiemens S7 PLCs and IEC 61850 MMS run over ISO-TSAP (RFC 1006)
123NTPUDPNetwork Time Protocol
135MS RPCTCPMicrosoft RPC endpoint mapper; DCOM and classic OPC DA start here
161SNMPUDPSNMP agent queries; v1/v2c community strings travel in clear text
162SNMP trapUDPSNMP traps to the manager
443HTTPSTCPWeb over TLS
502Modbus TCPTCPModbus over TCP; no authentication, function codes read and write registers
554RTSPTCPReal Time Streaming Protocol; IP cameras and media servers
623IPMIUDPBaseboard management (RMCP+); cipher 0 and hash leaks are classic findings
789Red Lion CrimsonTCPRed Lion HMI programming (Crimson v3)
1883MQTTTCPMQTT broker (IIoT telemetry); anonymous access is common
1911Niagara FoxTCPTridium Niagara building automation (Fox); 4911 for TLS
1962PCWorxTCPPhoenix Contact PCWorx PLC protocol
2222EtherNet/IP I/OUDPCIP implicit (I/O) messaging; explicit messaging is on 44818
2404IEC 60870-5-104TCPIEC 104 telecontrol (power grids, substations)
2455CODESYS v2TCPCODESYS v2 runtime (many PLC brands, e.g. WAGO); v3 uses 11740
3671KNXnet/IPUDPKNX building automation over IP
4000Emerson ROC PlusTCPEmerson ROC Plus (remote operations controllers, oil and gas)
4840OPC UATCPOPC Unified Architecture binary protocol; anonymous endpoints are a common finding
4911Niagara Fox (TLS)TCPTridium Niagara Fox over TLS
5007Mitsubishi MELSOFTTCPMitsubishi MELSEC PLC programming (MELSOFT connection)
5094HART-IPTCP/UDPHART field instrument protocol over IP
5683CoAPUDPConstrained Application Protocol (IoT); 5684 for DTLS
8883MQTT (TLS)TCPMQTT over TLS
9600Omron FINSTCP/UDPOmron FINS PLC protocol
11740CODESYS v3TCPCODESYS v3 runtime gateway; v2 uses 2455
17185VxWorks WDBUDPVxWorks debug agent; remote memory read/write if exposed
18245GE SRTPTCPGE Fanuc Service Request Transport Protocol (PLCs)
20000DNP3TCP/UDPDistributed Network Protocol 3 (utilities, water, power)
20547ProConOSTCPProConOS / MULTIPROG PLC runtime
34964PROFINET CMUDPPROFINET context manager (DCE/RPC); real-time I/O uses 34962 and 34963
44818EtherNet/IPTCP/UDPCIP explicit messaging (Rockwell / Allen-Bradley); I/O on 2222/UDP
47808BACnet/IPUDPBuilding automation (0xBAC0); no authentication
Start drilling ports & protocolsGet the Android app