Port Reference Database

Port Reference Database

Most Common Ports

Port 80 – HTTP

Protocol: TCP
Service: Hypertext Transfer Protocol
Use: Web traffic (unencrypted)

Common for: Web servers, APIs, unencrypted websites

Port 443 – HTTPS

Protocol: TCP
Service: HTTP over TLS/SSL
Use: Secure web traffic

Common for: Secure websites, encrypted APIs, e-commerce

Port 22 – SSH

Protocol: TCP
Service: Secure Shell
Use: Remote server access

Common for: Server administration, SFTP, Git over SSH

Port 3306 – MySQL

Protocol: TCP
Service: MySQL Database
Use: Database connections

Common for: MySQL/MariaDB servers, database applications

Port 5432 – PostgreSQL

Protocol: TCP
Service: PostgreSQL Database
Use: Database connections

Common for: PostgreSQL servers, advanced database features

Port 53 – DNS

Protocol: TCP/UDP
Service: Domain Name System
Use: Domain name resolution

Common for: DNS servers, domain lookups, name resolution

Port Security Best Practices

  • Close unused ports – Reduce attack surface
  • Use firewalls – Control inbound/outbound traffic
  • Regular port scans – Audit open ports
  • Use non-standard ports – For added obscurity
  • Monitor traffic – Detect suspicious activity
  • Keep services updated – Patch vulnerabilities
  • Don’t expose databases – Keep ports 3306, 5432 internal
  • Don’t use Telnet (23) – Unencrypted, use SSH instead
  • Avoid default ports – For critical services
  • Don’t trust port forwarding – Without VPN/tunneling
  • Don’t ignore logs – Monitor connection attempts
  • Don’t open all ports – Only what’s necessary

Related Network Tools

🌐 HTTP Status Codes

Complete reference for HTTP status codes with descriptions and troubleshooting.

🎯 Regex Tester

Test and debug regular expressions for log parsing and text processing.

🛠️ All Developer Tools

Explore our complete suite of free developer and security tools.