How to display open, closed and blocked ports using nmap

Home > Search > How-to
  by

Follow these steps to display open, closed and blocked ports using nmap.

  1. In the Target field at the upper left-hand corner of Nmap, type the IP Address of your subnet and select Scan.  Following are some common IP subnets:
    • 10.0.0.0/8
    • 172.16.0.0/16
    • 192.168.0.0/24
  2. Select the Ports / Hosts tab to view open, closed and blocked ports.

In this example, we have a network with about 15 hosts. We can highlight an IP address to view the state of the ports on a particular host.

The -p (ports) option can be appended to the command to only search for a certain port in question.

nmap -p 80,443 -O sS 192.168.0.0/24

 

 

 

 

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments