Ports Cheat Sheet

Here’s a cheat sheet for ports and their associated services:

Well-Known Ports

  • HTTP (HyperText Transfer Protocol):
    • Port: 80
  • HTTPS (Secure HyperText Transfer Protocol):
    • Port: 443
  • FTP (File Transfer Protocol):
    • Port: 21
  • SSH (Secure Shell):
    • Port: 22
  • Telnet:
    • Port: 23
  • SMTP (Simple Mail Transfer Protocol):
    • Port: 25
  • DNS (Domain Name System):
    • Port: 53
  • DHCP (Dynamic Host Configuration Protocol):
    • Port: 67 (Server) / 68 (Client)
  • TFTP (Trivial File Transfer Protocol):
    • Port: 69
  • POP3 (Post Office Protocol version 3):
    • Port: 110
  • IMAP (Internet Message Access Protocol):
    • Port: 143
  • HTTPS (Secure IMAP):
    • Port: 993
  • POP3S (Secure POP3):
    • Port: 995

Common Application Ports

  • MySQL Database:
    • Port: 3306
  • PostgreSQL Database:
    • Port: 5432
  • Oracle Database:
    • Port: 1521
  • Microsoft SQL Server:
    • Port: 1433
  • NTP (Network Time Protocol):
    • Port: 123
  • LDAP (Lightweight Directory Access Protocol):
    • Port: 389
  • HTTPS (Alternative):
    • Port: 8443

Web Application Ports

  • Tomcat Application Server:
    • Port: 8080
  • Jenkins (Automation Server):
    • Port: 8080
  • Apache HTTP Server:
    • Port: 8000

Miscellaneous Ports

  • RDP (Remote Desktop Protocol):
    • Port: 3389
  • VNC (Virtual Network Computing):
    • Port: 5900
  • SNMP (Simple Network Management Protocol):
    • Port: 161 (UDP)
  • Syslog:
    • Port: 514 (UDP)
  • NFS (Network File System):
    • Port: 2049
  • Elasticsearch:
    • Port: 9200
  • Docker Remote API:
    • Port: 2375

Dynamic/Private Ports

  • Dynamic/Private Ports (49152-65535):
    • These ports are used for dynamic/private purposes and can be assigned dynamically.

This cheat sheet provides a quick reference for commonly used ports. Keep in mind that port usage can vary, and it’s essential to refer to specific application or service documentation for accurate information.