Common Ports & Protocols Reference ⚡

⚡ Quick Reference — Security-critical ports and protocols


Must-Know Ports

PortProtocolServiceSecurity Notes
20TCPFTP DataCleartext — use SFTP
21TCPFTP ControlCleartext credentials ❌
22TCPSSHSecure remote access ✅
23TCPTelnetCleartext — NEVER use ❌
25TCPSMTPEmail sending — target for spam
53TCP/UDPDNSDNS attacks, tunnelling
67/68UDPDHCPRogue DHCP server attacks
69UDPTFTPNo authentication ❌
80TCPHTTPUnencrypted web ❌
110TCPPOP3Email retrieval — cleartext
111TCP/UDPRPCbindCommon target on Linux
135TCPMS RPCWindows — often exploited
137-139TCP/UDPNetBIOSWindows shares — enumeration target
143TCPIMAPEmail — cleartext
161/162UDPSNMPDefault community string “public” ❌
389TCPLDAPDirectory services
443TCPHTTPSEncrypted web ✅
445TCPSMBWindows file sharing — WannaCry target
993TCPIMAPSEncrypted IMAP ✅
995TCPPOP3SEncrypted POP3 ✅
1433TCPMS SQLDatabase — often exposed
1521TCPOracle DBDatabase
3306TCPMySQLDatabase — often exposed
3389TCPRDPRemote Desktop — brute force target
5432TCPPostgreSQLDatabase
5900TCPVNCRemote display — often weak auth
6379TCPRedisOften no authentication
8080TCPHTTP AltAlternative HTTP / proxy
8443TCPHTTPS AltAlternative HTTPS
27017TCPMongoDBOften no authentication

Secure vs Insecure Protocols

InsecurePortSecure AlternativePort
HTTP80HTTPS443
FTP21SFTP/SCP22
Telnet23SSH22
POP3110POP3S995
IMAP143IMAPS993
SMTP25SMTPS465/587
SNMP v1/v2161SNMP v3161
LDAP389LDAPS636