The encyclopedia indexes all standard TCP and UDP ports (1-65535) with focus on the ones that actually matter for security — service name, protocol (TCP/UDP/both), category (web, database, remote access, email, file sharing, etc.), risk classification (Critical / High / Medium / Low), and common attack patterns. The grid above shows ports with detailed annotations; generic filler ports without notable security context are omitted from the visible grid but searchable via the lookup field.
Risk classification methodology. Risk reflects how often the port appears in real attack scenarios and how severe the impact of compromise is. Critical (RDP/3389, SMB/445, exposed databases): historically wormable, frequent severe vulnerabilities, high-value access if compromised. High (SSH/22, MS-SQL/1433, MongoDB/27017): significant attack surface, common credential brute force, often misconfigured. Medium (FTP/21, Telnet/23): bad security practices baked in but lower base rate of exploitation today. Low (HTTPS/443 properly configured, IMAP/993): hardened modern services on this port. Risk is contextual — a properly-configured service on any port is lower risk than an unpatched legacy version of the same service.
Search and filter. Type a port number in the search box for instant lookup against the encyclopedia. Use the category filter chips to narrow by service type (databases, web, remote access). The 30 chips at the top show the most-searched ports for fast access. Each port card links through to /ports/N/ for the full per-port detail page with attack scenarios, hardening guidance, and historical CVE patterns.
Coverage and what is NOT included. The encyclopedia covers IANA-registered services and historically-significant ports (including legacy protocols like Telnet that should not be running anywhere in 2026 but still appear on legacy systems). It does not include ephemeral port range (49152-65535 dynamic client connections) since those are not service-specific. It does not cover application-layer protocols on top of HTTP (REST APIs, gRPC, GraphQL) because those run over HTTPS/443 and are not port-distinguishable. For application-protocol identification, you need DPI tools, not port lookup.
Five real-world use cases
Penetration test reconnaissance
After running an initial port scan against a target with the Port Scanner or nmap, look up each open port in the encyclopedia. The risk classification tells you which to investigate first; the common-attacks notes give you the starting point for testing each service. Cuts hours off recon by surfacing the highest-impact attack surfaces immediately.
Vendor security questionnaire — what services do they expose
When evaluating a SaaS vendor or assessing third-party risk, run nmap (or use Shodan / Censys) against their public IPs and look up the open ports here. A vendor exposing database ports directly to the internet is signalling something serious about their security maturity. The encyclopedia\'s risk classifications help you triage findings into critical-conversation-needed vs acceptable-risk categories.
Educator / trainer reference for network security courses
For teaching network security concepts, the encyclopedia provides ready-made examples for each port — what runs on it, what attacks target it, why it matters. Useful for building out lesson plans without re-researching every protocol from scratch. Particularly the Critical/High categorised ports come with attack-pattern annotations that make for concrete classroom examples.
Incident response — identifying what was probably attacked
During an incident, you have logs showing connections to specific ports on internal systems. Look up unfamiliar ports here to quickly identify what service was likely the target — is this normal application traffic or something investigation-worthy? Speeds up the triage step where you decide which alerts deserve deep-dive investigation vs noise.
Hardening checklist — what to firewall-block by default
Build your default firewall block-list from the Critical and High categories. Database ports, RDP, SMB, anything in the High category exposed to public internet — block by default, allow only with explicit business justification. The encyclopedia gives you the principled list to start from rather than reactive blocking after each incident.
Common mistakes & edge cases
Treating "non-standard port" as security
Moving SSH from 22 to 22222 reduces opportunistic scanner traffic but does not stop targeted attacks — modern scanners check all ports anyway. Port change is operational hygiene (cleaner logs), not security. For real SSH security, use key auth, disable password auth, restrict source IPs.
Assuming port-only filtering blocks the application
Blocking port 80 does not block a service that also listens on 8080, 8000, or 443. Real port-blocking requires comprehensive firewall rules covering all the ports a service might use, not just the canonical one. Check what is actually listening (ss/netstat on Linux) before assuming a block is comprehensive.
Ignoring UDP because TCP scans look clean
Most port scans default to TCP. UDP services (DNS/53, DHCP/67, NTP/123, SNMP/161) get missed. UDP-based attacks (DNS amplification, NTP amplification) historically produced massive DDoS campaigns. Always scan both TCP and UDP for security assessments; do not assume "no TCP findings" means "secure".
Confusing port being "open" with service being vulnerable
Open port = service is reachable. Whether the service is vulnerable depends on the service version, configuration, authentication, and known CVEs. The encyclopedia tells you which ports are high-risk attack surfaces; vulnerability scanning (Nessus, OpenVAS) tells you whether the specific instance is currently vulnerable.
Trusting "well-known port = legitimate service"
Anyone can run any service on any port. A service responding on port 443 might not be HTTPS — could be a custom protocol, malware C2, or anything else. Banner-grabbing and protocol detection (nmap -sV) tells you what is actually running, not what should be running based on port assignment.
Default-deny policies that forget about ephemeral ports
Strict firewall policies that block "all ports above 1024" break outbound connections because client connections use ephemeral ports (49152-65535) for return traffic. Stateful firewalls handle this automatically; pure stateless allow-list policies need explicit ephemeral-range rules. Test connectivity after policy changes to catch this.
Frequently Asked Questions
Ports are numbered endpoints (1-65535) that services listen on for network connections. Web servers listen on port 80 (HTTP) and 443 (HTTPS); SSH on 22; databases on various ports (MySQL 3306, PostgreSQL 5432). Each open port on a system is a potential attack surface — if the service listening is vulnerable or misconfigured, attackers reach it through that port. Port enumeration (figuring out which ports are open and what runs on them) is the first phase of almost every penetration test. Knowing which ports correspond to which services tells you what attack surface a target exposes.
Risk classification reflects how often each port appears in real attack scenarios and how severe the impact of compromise is. Critical: ports for services with frequent severe vulnerabilities and high-value access (RDP/3389, SMB/445, database ports exposed to internet). High: ports for services with significant attack surface (SSH/22 for credential brute force, MS-SQL/1433, MongoDB/27017 unauthenticated by default). Medium: ports with notable but more bounded risk (FTP/21, Telnet/23 — bad security practices but lower base rate of exploitation). Low: well-hardened modern services on this port (HTTPS/443 properly configured, IMAP/993). Risk is contextual — port 80 (HTTP) on a properly-configured site is low risk; the same port on an unpatched legacy app is critical.
TCP (Transmission Control Protocol) is connection-oriented — establishes a session, guarantees delivery, used for most application protocols (HTTP, HTTPS, SSH, SMTP). UDP (User Datagram Protocol) is connectionless — fire-and-forget, no guarantee, used for time-sensitive services (DNS, DHCP, NTP, gaming). Port 53 is famously both: DNS uses UDP for normal queries and TCP for large responses. When scanning, you often scan TCP and UDP separately because the protocols behave differently and many attackers focus on TCP scanning since it is faster and more reliable.
The Port Encyclopedia is a reference for what each port number means and represents — service name, protocol, typical use, security risk, common attacks. The Port Scanner actively checks which ports are open on a specific target. Use the encyclopedia first to understand which ports matter and what to look for; use the scanner to find which of those ports are actually exposed on a target. Together: encyclopedia for theory, scanner for practice.
IANA divides the port range into three groups. Well-known ports (0-1023): require root/administrator privileges to bind to, reserved for major services (HTTP/80, HTTPS/443, SSH/22). Registered ports (1024-49151): registered with IANA for specific services (PostgreSQL/5432, MongoDB/27017) but no privilege requirement. Dynamic/ephemeral (49152-65535): used for outbound client connections, no registration. The classification matters less for security than the actual service running, but well-known ports being unauthenticated is generally considered worse than registered ports because they are scanned first by attackers.
Yes — port scanning is trivial. Tools like nmap, masscan, RustScan can scan all 65,535 TCP ports across an entire IP range in minutes. Internet-wide scans by services like Shodan and Censys constantly map exposed ports across the public IPv4 space. If your service is on a public IP, assume it is in scan results within hours of going online. The right defence is not hiding ports (security through obscurity fails); it is hardening the services on those ports — current patches, strong authentication, MFA, monitoring, and network segmentation.
Port knocking is a technique where a service stays closed until a specific sequence of connection attempts to other ports is detected, then opens for the source IP. It adds a small obscurity layer that defeats opportunistic scanners but does not stop targeted attacks (the knock sequence is observable on the network). For SSH access specifically, port knocking can reduce log noise from automated bots; it does not replace strong authentication. For high-security access, modern alternatives like WireGuard VPN or zero-trust network access (ZTNA) are dramatically better than port knocking.
Changing SSH to a non-standard port (like 22222 or 50022) reduces opportunistic scanner traffic significantly — automated bots often only check port 22, and finding nothing there move on. This is obscurity, not security: any targeted attacker scans all ports anyway. The benefit is operational (cleaner logs, less brute-force noise) not actually-security (a determined attacker still finds your SSH). For real SSH security, use SSH key authentication, disable password auth, restrict by source IP via firewall, and consider behind-VPN access. Port change alone is not enough.
Historically: SMB (445) and RDP (3389) — both have repeatedly produced wormable internet-exploitable vulnerabilities (EternalBlue/WannaCry on 445, BlueKeep on 3389). Both should never be exposed to the internet directly under any circumstances; if remote access is needed, route through VPN or zero-trust gateway. Other high-risk exposures: database ports (3306, 5432, 1433, 27017) — every year there are massive breaches from databases left publicly exposed with default or no authentication. Database ports should be firewall-blocked from the public internet by default; access via application servers in a private network only.
The base port assignments (which port runs which service) are largely stable — IANA assignments do not change often. Risk classifications and attack-trend annotations get updated when notable new vulnerabilities or attack patterns emerge in the security industry. Major updates typically happen annually or in response to significant events (a new wormable vulnerability, a class of attacks getting popular). For a specific port detail page (linked from each card), check the page directly for the most current annotations.