Using nmap to “ping” remote ports

nmap -p 443 site.com nmap -p 21,22,2222,80,443 site.com nmap -p 50-100 site.com nmap is a very versatile tool for analyzing remote hosts. Given the above examples, nmap will return the scanned ports’ status as open, closed, filtered, and so on.