Skip to content
Pwnversity
NET-PUERTOSbasic · 10 min · upd. 2026-11

Common ports and services

T1046T1595.001

Reference for the ports that show up most often in a pentest or a CTF: which service usually sits behind each one, what to look at first, and which page to go to. It is meant to be read right after the scan and before enumeration. One warning applies to the whole table: the port number is a convention, not a guarantee. nmap without -sV prints whatever name its nmap-services file lists for that number; only version detection tells you what is really there.

flowchart LR
    S["Scan<br/>port list"] --> T["This table<br/>what it usually is, what to check"]
    T --> V["-sV<br/>confirm the service"]
    V --> E["Service page<br/>enumerate"]

RFC 6335 divides the 65,536 ports of TCP, UDP, SCTP and DCCP into three ranges:

Range Name Who assigns it
0–1023 System (well known) IANA; on Unix only root may listen on them
1024–49151 User (registered) IANA, on request from vendors
49152–65535 Dynamic (ephemeral) nobody: the OS uses them for outbound connections

The official registry is IANA’s Service Name and Transport Protocol Port Number Registry. In practice many registered services listen on ports that are not theirs (an HTTP on 8443, an SSH on 2222, a MySQL on 33060) and ephemeral ports show up open on Windows through dynamic RPC (49152+). A high open port is enumerated exactly like a low one.

Port Service First Page
21/tcp FTP anonymous login; listing; writable?; version (vsftpd, ProFTPD) enumeration
22/tcp SSH banner with version; authentication methods; ssh-audit protocols
23/tcp Telnet banner; everything in the clear; default credentials on network gear sniffing
69/udp TFTP no authentication; network-device and VoIP configurations —
873/tcp rsync rsync rsync://host/ lists modules; modules without a password —
2049/tcp NFS showmount -e; exports to *; no_root_squash enumeration
3389/tcp RDP NLA?; certificate with hostname; version protocols
5900/tcp VNC no password?; server version —
5985/5986 WinRM credentials only: remote execution lateral
Port Service First Page
25/tcp SMTP banner; VRFY/EXPN/RCPT TO; open relay enumeration
110/995 POP3(S) banner; USER/PASS in the clear on 110 —
143/993 IMAP(S) banner; LOGIN in the clear on 143; CAPABILITY —
465/587 SMTPS / submission authenticated sending; credentials to try with care —
Port Service First Page
53/tcp+udp DNS version; zone transfer; subdomains DNS
88/tcp Kerberos there is an AD domain: realm name, valid users AD
135/tcp MSRPC endpoint mapper; exposed interfaces AD
137–139 NetBIOS name, domain/workgroup; SMB over NetBIOS enumeration
389/636/3268/3269 LDAP(S) / GC anonymous bind; naming contexts; the whole directory with credentials AD
445/tcp SMB OS, signing, SMBv1; null session; shares enumeration
464/tcp kpasswd confirms AD; Kerberos password change —
Port Service First Page
161/udp SNMP public/private; v1/v2c in the clear; MIB walk enumeration
162/udp SNMP trap the host receives traps: usually a monitoring system —
623/udp IPMI server BMCs; cipher 0; hashes via RAKP —
1900/udp SSDP/UPnP device descriptions; sometimes control without authentication —
5353/udp mDNS .local names, advertised services (printers, Apple) —
10000/tcp Webmin administration panel with a history of RCE —
Port Service First Page
80/443 HTTP(S) technologies, paths, vhosts, certificate web
8000/8080/8443/8888 alternate HTTP the same; often panels, APIs or development environments web
2375/2376 Docker API no TLS on 2375: full control of the daemon Docker
3000 Grafana / Node panel with default credentials or a development app —
5000 Flask / Docker Registry development app with debug=True; image catalog —
6443/10250 Kubernetes API / kubelet version; /api; kubelet without authentication cloud
8009 AJP Tomcat: Ghostcat (CVE-2020-1938) on old versions —
9200/9300 Elasticsearch /_cat/indices; no authentication by default on old versions —
Port Service First Page
1433/tcp MSSQL sa; Windows authentication; version MSSQL
1521/tcp Oracle SID; default accounts; odat —
3306/tcp MySQL/MariaDB root without password; version; users protocols
5432/tcp PostgreSQL postgres with trust; version protocols
5672/15672 RabbitMQ / panel guest:guest on the panel —
6379/tcp Redis no authentication by default outside protected mode; INFO protocols
9042 Cassandra cassandra:cassandra —
11211 Memcached no authentication; stats; UDP amplification —
27017 MongoDB no authentication on old installs; listDatabases protocols
Port Service First Page
102/tcp S7comm (Siemens) PLC: passive reading only on an engagement OT
502/tcp Modbus no authentication by design; identify, never write OT
1883/8883 MQTT anonymous?; # subscribes to everything IoT
4444/tcp — Metasploit’s default port: if it is open, someone got there first —
44818 EtherNet/IP Rockwell PLC; passive identification OT
47808/udp BACnet building automation OT
  1. Full TCP port scan (-p-) and bounded UDP (--top-ports), see Nmap.
  2. -sV on the open ones: confirms the real service, not the one the number suggests.
  3. For each port, the “First” column of this table and the linked page.
  4. Priority by value: SMB, LDAP and Kerberos (domain) → databases and panels → mail and management → the rest.
  • 88 + 389 + 445 + 464 + 636 + 3268: Active Directory domain controller.
  • 135 + 139 + 445 + 3389 + 5985: domain-joined Windows workstation or server.
  • 22 + 111 + 2049: Linux server with NFS; probably a UID map.
  • 2375 / 6443 / 10250: container infrastructure; a mistake here is control of the whole host or cluster.
  • 102 / 502 / 44818: industrial operations network; it changes the rules of the engagement.

53, 69, 123, 161, 500, 623, 1900 and 5353 only show up with -sU. SNMP and TFTP in particular hand out complete network-device configurations without credentials; IKE (500) identifies the VPN and its vendor (see VPN).

  • Inventory: what this table lists is what an attacker looks at first; the defenders should know on which hosts each one is open and why.
  • Internet exposure: Shadowserver and Censys publish continuous counts of databases reachable without authentication; Censys counted around 39,000 unauthenticated Redis services out of 350,000 exposed in 2022, and Shadowserver counted close to 79,000 Internet-reachable MongoDB instances in December 2025. None of the ports in the database section should be reachable from outside.
  • Management ports (22, 3389, 5985, 623, 161) only from the administration network.
  • A port out of place (4444, 1337, an HTTP on a high port on a server that did not have one) is an indicator that deserves its own alert.
  • Open port list confirmed with -sV, not by number.
  • UDP scanned at least on 53, 69, 123, 161, 500, 623, 1900, 5353.
  • Domain ports identified (88/389/445/464/636/3268) and handed to AD.
  • Databases and panels tried without credentials before anything else.
  • Industrial ports and BMCs marked “passive only” in the notes.
  • Each port with its enumeration page open before launching anything.