nmap -p- target.example.com

Category: Security & Hardening

nmap -p- target.example.com

Scan all 65535 TCP ports

The -p- range covers every TCP port, catching services running on unusual ports that default scans miss. Full scans are slow and noisy, and firewalls or intrusion detection may notice them. Start with common ports, then drill down with -p- only when needed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.