Network - Nmap to (discover|scan) the open port / service

Map Of Internet 1973


Nmap (“Network Mapper”) is a free and open source (license) utility for network exploration or security auditing that permits to query open port



  • Linux
apt-get install nmap
  • Windows. Download the msi package

scan a computer to see the open port ?

Nmap Open Port Computer

nmap -v -A

scan a network ?

From ZenMap, choose the scan that you want to perform and change the value of <target> by for instance for a subnetmask and click on the scan button.

Nmap Quickscan Plus

define the port

You define the port with the p verbose.

For example, the argument -p U:53,111,137,T:21-25,80,139,8080 would scan:

  • UDP ports 53, 111,and 137,
  • the TCP ports 21 to 25 and the listed one 80, 139, 8080

Example with the port:

  • http 80,
  • https 443,
  • oracle listener 1521
  • and Obiee Presentation Service 9704
nmap -Pn -p T:80,443,1521,9704
# for ipv6, you need to add the 6 property and the target (as name or ip)
nmap -6 2a09:8280:1::42:92ef


  • Pn threat the machine as up (in case of no ping is possible)
  • p defines the port


Starting Nmap 5.51 ( ) at 2011-12-16 10:36 W. Europe Standard Time
Nmap scan report for obiee.gerardnico.local
Host is up (0.074s latency).
80/tcp   closed   http
443/tcp  filtered https
1521/tcp closed   oracle
9704/tcp open     unknown
MAC Address: 00:FF:93:3A:10:89 (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 15.07 seconds

Documentation / Reference

Discover More
Map Of Internet 1973

Maps of the Internet in 1973 This section groups all articles over networking. In the internet age, all networks may be considered as subnet. To transmit data between two hosts in one network,...
Map Of Internet 1973
Network - Open Port

How to know from a localhost which port are open on a remote host (ie that a firewall is not used or that the process is up and listen) When the scanner sends a SYN packet to open a TCP connection...
Map Of Internet 1973
Network - Scanner

A network scanner permits to discover: host open port Port_scanner
Map Of Internet 1973
Network - netcat (nc, ncat)

netcat is a net client/server command line tool for TCP or UDP protocol. It can: reads and writes data across network connections acts as a client but also as a server You can see it as the equivalent...
Idea Firewall Public Allow
PHP - (Debug|Debugger) with Xdebug in Docker

How to debug a PHP application running in a docker container. This articles is split in two: a part that you need to perform only ones a debug part that you must perform each time you want to debug...

Share this page:
Follow us:
Task Runner