There’s a time where we need to check for ports that are running on our current server. To do so, we need to install a software called, nmap
. To install, simply run the following command:
$ sudo apt-get install nmap
Then run the following command to see the table of the ports which are currently running on our Ubuntu server:
$ nmap localhost