How to Use the nmap Command
Nmap is a powerful network scanning tool for security audits and penetration testing.
How to Check (Scan) for Open Ports in Linux
This article describes several approaches to find out what ports are opened to the outside on your Linux system. An open port is a network port that accepts incoming packets from remote locations.