Ubuntu 18.04 Test if Port is Open

July 12th, 2018 by thelinuxevangelist

Ubuntu 18.04 Test if Port is Open

You Are Welcome! This Tip Shows You How to List Open Ports in Ubuntu 18.04 Bionic LTS GNU/Linux.

And the Ubuntu 18.04 Check if Port is Open is achieved by the Nmap Network Tool.

Finally, Nmap (Network Mapper) is a Security Scanner, originally written by Gordon Lyon (also known by his pseudonym Fyodor Vaskovich), used to discover hosts and services on a computer network, thus building a “Map” of the network.

Ubuntu 18.04 Test if Port is Open - Featured
  1. 1. Opening Shell Session

    On Desktop Open a Terminal window
    Ctrl+Alt+t
    (Press “Enter” to Execute Commands)

    Ubuntu 18.04 Test if Port is Open - Open Terminal Shell Emulator
  2. 2. Installing Nmap

    Then Install Nmap Tool with:

    sudo apt install nmap
  3. 3. Listing Open Ports

    Finally, to List All Open Ports

    sudo nmap -sT -O localhost

    And in the Output you should find a detailed List of the Open Ports:

    Ubuntu 18.04 Test if Port is Open - List of Open Ports