TCP & UDP Database · IANA Well-Known Ports · Firewall Hardening · Nmap CLI
TCP & UDP Port Number Directory & Security Guide
Instant lookup for network ports, transport protocols, service mappings, security risk profiles, and recommended firewall exposure policies.
Showing 64 of 64 ports
| Port | Protocol | Service | Category | Risk Level | Internet Status | Inspect |
|---|---|---|---|---|---|---|
| 20 | TCP | FTP Data | File Transfer | High | Never Expose | |
| 21 | TCP | FTP Control | File Transfer | High | Never Expose | |
| 22 | TCP | SSH / SFTP | Remote Access | Low | Restricted | |
| 23 | TCP | Telnet | Remote Access | Critical | Never Expose | |
| 25 | TCP | SMTP | Medium | Open | ||
| 53 | TCP/UDP | DNS | Network | Low | Open | |
| 67 | UDP | DHCP Server | Network | Low | Restricted | |
| 68 | UDP | DHCP Client | Network | Low | Restricted | |
| 69 | UDP | TFTP | File Transfer | Critical | Never Expose | |
| 80 | TCP | HTTP | Web | Low | Open | |
| 88 | TCP/UDP | Kerberos | Security | Medium | Restricted | |
| 110 | TCP | POP3 | High | Never Expose | ||
| 123 | UDP | NTP | Network | Low | Open | |
| 135 | TCP/UDP | MS RPC | Network | Critical | Never Expose | |
| 137 | UDP | NetBIOS Name | Network | Critical | Never Expose | |
| 138 | UDP | NetBIOS Datagram | Network | Critical | Never Expose | |
| 139 | TCP | NetBIOS Session | Network | Critical | Never Expose | |
| 143 | TCP | IMAP | High | Never Expose | ||
| 161 | UDP | SNMP Queries | Network | High | Restricted | |
| 162 | UDP | SNMP Traps | Network | Medium | Restricted | |
| 179 | TCP | BGP | Network | Low | Restricted | |
| 389 | TCP/UDP | LDAP | Security | High | Restricted | |
| 443 | TCP/UDP | HTTPS / HTTP/3 | Web | Low | Open | |
| 445 | TCP | Microsoft SMB | File Transfer | Critical | Never Expose | |
| 465 | TCP | SMTPS | Low | Open | ||
| 500 | UDP | IPsec IKE | Security | Low | Restricted | |
| 514 | UDP | Syslog | Network | Medium | Restricted | |
| 587 | TCP | SMTP Submission | Low | Open | ||
| 636 | TCP | LDAPS | Security | Low | Restricted | |
| 873 | TCP | Rsync | File Transfer | Medium | Restricted | |
| 993 | TCP | IMAPS | Low | Open | ||
| 995 | TCP | POP3S | Low | Open | ||
| 1080 | TCP | SOCKS Proxy | Network | High | Restricted | |
| 1194 | UDP | OpenVPN | Security | Low | Restricted | |
| 1433 | TCP | Microsoft SQL Server | Database | Critical | Never Expose | |
| 1521 | TCP | Oracle Database | Database | Critical | Never Expose | |
| 1883 | TCP | MQTT | Messaging | High | Restricted | |
| 2049 | TCP/UDP | NFS | File Transfer | Critical | Never Expose | |
| 2375 | TCP | Docker Daemon (Plaintext) | DevOps | Critical | Never Expose | |
| 2376 | TCP | Docker Daemon (TLS) | DevOps | Medium | Restricted | |
| 3000 | TCP | Node.js / React Dev / Grafana | Web | Medium | Restricted | |
| 3306 | TCP | MySQL / MariaDB | Database | Critical | Never Expose | |
| 3389 | TCP/UDP | RDP (Remote Desktop) | Remote Access | Critical | Never Expose | |
| 4369 | TCP | Erlang EPMD | DevOps | High | Restricted | |
| 4500 | UDP | IPsec NAT-T | Security | Low | Restricted | |
| 5000 | TCP | Flask / Docker Registry / ASP.NET | Web | Medium | Restricted | |
| 5060 | TCP/UDP | SIP (VoIP) | Network | Medium | Restricted | |
| 5432 | TCP | PostgreSQL | Database | Critical | Never Expose | |
| 5672 | TCP | RabbitMQ (AMQP) | Messaging | Medium | Restricted | |
| 5900 | TCP | VNC Server | Remote Access | Critical | Never Expose | |
| 6379 | TCP | Redis | Database | Critical | Never Expose | |
| 6443 | TCP | Kubernetes API Server | DevOps | High | Restricted | |
| 8000 | TCP | HTTP Dev / Django | Web | Medium | Restricted | |
| 8080 | TCP | HTTP Alternate / Tomcat / Spring | Web | Medium | Open | |
| 8443 | TCP | HTTPS Alternate | Web | Low | Open | |
| 8883 | TCP | MQTTS (Secure MQTT) | Messaging | Low | Open | |
| 8888 | TCP | Jupyter Notebook | DevOps | High | Restricted | |
| 9000 | TCP | PHP-FPM / SonarQube / MinIO | DevOps | High | Restricted | |
| 9090 | TCP | Prometheus Server | DevOps | Medium | Restricted | |
| 9092 | TCP | Apache Kafka | Messaging | High | Restricted | |
| 9200 | TCP | Elasticsearch / OpenSearch | Database | Critical | Never Expose | |
| 11211 | TCP/UDP | Memcached | Database | Critical | Never Expose | |
| 27017 | TCP | MongoDB | Database | Critical | Never Expose | |
| 51820 | UDP | WireGuard VPN | Security | Low | Open |
Understanding Network Ports, Ranges & Firewall Security
01.The Three Port Ranges Defined by IANA (RFC 6335)
In TCP/IP networking, transport layer endpoints are identified by 16-bit integer port numbers ranging from 0 to 65,535:
- Well-Known Ports (0 – 1023): Assigned to universal system services by the Internet Assigned Numbers Authority (IANA). On POSIX systems (Linux/BSD/macOS), binding to these ports requires root/superuser capabilities (or
CAP_NET_BIND_SERVICE). Examples: 22 (SSH), 80 (HTTP), 443 (HTTPS). - Registered Ports (1024 – 49151): Registered for vendor applications and database servers (e.g., 3306 for MySQL, 5432 for PostgreSQL, 6379 for Redis, 27017 for MongoDB).
- Dynamic / Ephemeral Ports (49152 – 65535): Allocated dynamically by operating systems for outbound client sockets when making connections.
02.Critical Ports You Must NEVER Expose to the Public Internet
Automated botnets continuously scan the entire IPv4 address space for vulnerable exposed ports. The following services should be strictly bound to 127.0.0.1 or protected within an isolated VPC:
- Port 445 (SMB): Vector for remote kernel exploits like WannaCry and NotPetya.
- Port 3389 (RDP): High target for brute-force credential stuffing and ransomware payload deployment.
- Port 6379 (Redis) & 11211 (Memcached): Frequently lack authentication by default, allowing attackers to write arbitrary files or execute amplified UDP DDoS attacks.
- Port 2375 (Docker Socket): Grants unauthenticated root level execution on host servers.
03.TCP vs. UDP: Key Behavioral Differences
Network protocols operate over either connection-oriented TCP or connectionless UDP:
- TCP (Transmission Control Protocol): Performs a 3-way handshake (SYN, SYN-ACK, ACK) ensuring delivery, ordering, and flow control. Ideal for HTTP, SSH, and databases.
- UDP (User Datagram Protocol): Fire-and-forget packets without handshake overhead. Ideal for low-latency voice (SIP), streaming, DNS queries, and modern HTTP/3 (QUIC). Because UDP source IPs can be easily spoofed, exposed UDP services are susceptible to reflection/amplification attacks.
04.Testing Open Ports from the Terminal
Verify listening ports on remote servers without installing heavy GUI scanners:
# Fast connection test with Netcat
nc -zv host.example.com 443
nc -zv host.example.com 443
# Check listening ports locally on Linux
ss -tulpn
ss -tulpn