Network Security

Common Ports Reference

During triage you rarely need a full scanner -- you need to know what is listening on 5985 or why 6379 being open is an emergency. Search by port number, protocol or service name.

Showing 37 of 37 entries

20/21 · FTP

TCP

high risk

Plaintext credentials and data. Replace with SFTP/FTPS.

22 · SSH

TCP

medium risk

Key-based auth only, no root login, rate-limit brute force.

23 · Telnet

TCP

high risk

Fully unencrypted remote shell. Should never be exposed.

25 · SMTP

TCP

medium risk

Mail relay; check for open relay and enforce TLS.

53 · DNS

TCP/UDP

medium risk

Watch for recursion abuse, amplification and tunnelling.

67/68 · DHCP

UDP

medium risk

Rogue DHCP servers enable man-in-the-middle attacks.

69 · TFTP

UDP

high risk

No authentication. Common config-theft target.

80 · HTTP

TCP

medium risk

Redirect to HTTPS and enable HSTS.

110 · POP3

TCP

medium risk

Legacy mail retrieval; prefer POP3S/IMAPS.

123 · NTP

UDP

medium risk

Amplification vector when left open to the internet.

135 · MSRPC

TCP

high risk

Windows RPC endpoint mapper. Block at the perimeter.

137-139 · NetBIOS

TCP/UDP

high risk

Legacy Windows naming/sharing. Internal only.

143 · IMAP

TCP

medium risk

Plaintext mail access unless wrapped in TLS.

161 · SNMP

UDP

high risk

Default community strings leak device inventory.

389 · LDAP

TCP

medium risk

Directory queries in cleartext; use LDAPS (636).

443 · HTTPS

TCP

low risk

Check TLS version, ciphers and certificate expiry.

445 · SMB

TCP

high risk

Ransomware and lateral-movement favourite. Never expose.

465/587 · SMTPS / submission

TCP

low risk

Authenticated mail submission over TLS.

514 · Syslog

UDP

medium risk

Log forwarding; unencrypted by default.

636 · LDAPS

TCP

low risk

LDAP over TLS. Verify certificate chain.

873 · rsync

TCP

high risk

Frequently exposed with anonymous read access.

993 · IMAPS

TCP

low risk

Encrypted IMAP. Preferred over 143.

995 · POP3S

TCP

low risk

Encrypted POP3.

1433 · MS SQL Server

TCP

high risk

Database port; keep private and patched.

1521 · Oracle DB

TCP

high risk

Listener enumeration is a classic recon step.

2049 · NFS

TCP/UDP

high risk

Export lists often over-permissive.

3306 · MySQL / MariaDB

TCP

high risk

Bind to localhost; never expose publicly.

3389 · RDP

TCP

high risk

Top ransomware entry point. Put behind VPN + MFA.

5060/5061 · SIP

TCP/UDP

medium risk

VoIP signalling; toll-fraud target.

5432 · PostgreSQL

TCP

high risk

Restrict with pg_hba.conf and network rules.

5900 · VNC

TCP

high risk

Weak legacy auth; often exposed without a password.

5985/5986 · WinRM

TCP

high risk

Remote PowerShell; heavily abused for lateral movement.

6379 · Redis

TCP

high risk

No auth by default. Trivial remote takeover if exposed.

8080/8443 · HTTP(S) alt

TCP

medium risk

Admin panels and proxies hide here. Enumerate them.

9200 · Elasticsearch

TCP

high risk

Classic source of open-data leaks.

11211 · Memcached

TCP/UDP

high risk

Massive UDP amplification vector.

27017 · MongoDB

TCP

high risk

Historically unauthenticated; audit exposure.

This is a static reference bundled with the page -- no scanning, no network requests, nothing typed here is sent anywhere.

Using a port list well

  • Ports are hints, not facts: services can run anywhere, so always confirm with banner or protocol inspection.
  • Treat management ports (22, 3389, 5985) as VPN-only, never internet-facing.
  • Databases and caches (3306, 5432, 6379, 9200, 27017) should be bound to private interfaces by default.
  • Track unexpected listeners over time -- a new open port on a server is one of the cheapest breach signals you have.