Scan Open Ports
Posted on Sunday March 13, 2016 by Eric Potvin
To scan ports, you need to use a tool called
nmap. Nmap ("Network Mapper") is a free tool for network discovery and security auditing.
sudo apt-get install nmap
Scan for open ports
nmap -v -sT localhost
sudo nmap -v -sS localhost