5 min read
2026-03-04
When configuring iptables, ufw, or Windows Firewall, you need to know which ports to open for each service. The reference provides a quick answer.
| Symptom | Port to Check | Service |
|---|---|---|
| Website unavailable | 80, 443 | HTTP/HTTPS |
| Email not sending | 25, 587, 465 | SMTP |
| Cannot connect to DB | 3306, 5432 | MySQL/PostgreSQL |
| RDP not working | 3389 | Remote Desktop |
When containerizing, you need to map container ports to the host. The reference helps avoid conflicts between services.
To access a home server from outside, you need to forward ports on your router. The reference suggests the correct port numbers.
Port scanning is the first step of a pentest. Knowing the standard service ports, an auditor quickly identifies running software and its versions.
Knowledge of key ports (22, 53, 80, 443, 3389) is a mandatory requirement for CompTIA, Cisco, and other vendor certifications.
Find the port you need in the Port List.
See also: IP Calculator, Subnet Calculator