Free online tool · CertCrack Tools

Port Scanner Output Interpreter

Port scans show up on Network+, PenTest+ and CySA+ — not as a command to memorise, but as output you have to read. Below are six realistic scanner outputs. Read each one, answer its three questions, and get graded on the spot. No scanner is run here: everything on this page is a worked example, and nothing leaves your browser.

Score: 0 / 18 Answered: 0 / 18

Open vs closed vs filtered — the three words that matter

Every port in a scan result is in one of three states. Learn these and half the exam questions answer themselves:

StateWhat it meansWhat the scanner saw
OpenA service is listening and answered.A connection succeeded (SYN scan: SYN-ACK came back).
ClosedThe port is reachable, but no service is listening there.A reset (RST) came back — the host is up and answering, the door is just shut.
FilteredThe scanner got no response at all, so it cannot tell whether the port is open or closed.Something in the middle — usually a firewall — dropped the probe silently.

The trap to remember: filtered does not mean closed. A filtered port may have a live service hiding behind a firewall, and a closed port is proof of nothing except that nothing is listening right now. When a question asks what to do next, the safe answer is almost always to investigate the filtered port (or the open service) — never to assume it away.

Two flags you will see in these outputs: -sS is the SYN scan (the default stealth scan: send SYN, wait for SYN-ACK or RST, never complete the handshake), and -sV is version detection (probe each open port and report the service and version it finds).

Scan only systems you own or are authorised to test. Scanning a network without permission can be illegal and can get an account — or a job — suspended. Every scenario below is a printed example, not a live scan.

Scenario 1 — A normal web server

NMAP · SYN SCAN (-sS)

An internal web server at 192.168.1.10. The scan below is the standard Nmap layout: the host, then one line per port with its state and service.

$ nmap -sS 192.168.1.10

Starting Nmap 7.94 ( https://nmap.org )
Nmap scan report for 192.168.1.10
Host is up (0.0012s latency).
Not shown: 994 closed tcp ports (reset)
PORT     STATE    SERVICE
21/tcp   closed   ftp
22/tcp   open     ssh
23/tcp   closed   telnet
80/tcp   open     http
443/tcp  open     https
3306/tcp filtered mysql

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

Scenario 2 — Most ports filtered: a firewall is in front

NMAP · SYN SCAN (-sS)

A host at 10.0.0.50. Almost every port comes back filtered — the signature of a firewall dropping probes before they reach the host.

$ nmap -sS 10.0.0.50

Starting Nmap 7.94 ( https://nmap.org )
Nmap scan report for 10.0.0.50
Host is up (0.0041s latency).
Not shown: 995 filtered tcp ports (no-response)
PORT     STATE    SERVICE
53/tcp   open     domain
22/tcp   filtered ssh
80/tcp   filtered http
443/tcp  filtered https
3389/tcp filtered ms-wbt-server

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

Scenario 3 — An unexpected open port on an internet-facing host

NMAP · SYN SCAN (-sS) · ⚠ FINDING

A public-facing server at 203.0.113.45. Three open ports are expected. One is not — read the output before you answer.

$ nmap -sS 203.0.113.45

Starting Nmap 7.94 ( https://nmap.org )
Nmap scan report for 203.0.113.45
Host is up (0.028s latency).
Not shown: 995 closed tcp ports (reset)
PORT     STATE    SERVICE
22/tcp   open     ssh
80/tcp   open     http
443/tcp  open     https
445/tcp  filtered microsoft-ds
3389/tcp open     ms-wbt-server

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

Scenario 4 — A Masscan fast-scan result

MASSCAN · FAST SCAN

Masscan is built for speed: it can sweep a whole range in seconds and prints only what it found. That speed comes with a trade-off — read what is missing from this output as carefully as what is in it.

$ masscan -p1-10000 198.51.100.23 --rate=10000

Starting masscan 1.3.2 (https://github.com/robertdavidgraham/masscan)
Discovered open port 80/tcp on 198.51.100.23
Discovered open port 443/tcp on 198.51.100.23
Discovered open port 22/tcp on 198.51.100.23

# Masscan done in 1.12 seconds

Scenario 5 — Only one port open, the rest closed (not filtered)

NMAP · SYN SCAN (-sS)

A host at 192.168.1.25 with a single service exposed. Note the word in the STATE column — it is closed, and that word is doing real work here.

$ nmap -sS 192.168.1.25

Starting Nmap 7.94 ( https://nmap.org )
Nmap scan report for 192.168.1.25
Host is up (0.0010s latency).
Not shown: 995 closed tcp ports (reset)
PORT    STATE  SERVICE
21/tcp  closed ftp
22/tcp  closed ssh
25/tcp  closed smtp
80/tcp  closed http
443/tcp open   https

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

Scenario 6 — A version scan finds an old FTP service

NMAP · VERSION DETECTION (-sV)

The same kind of host as Scenario 1, rescanned with -sV so Nmap probes each open port and reports the service version. One version number should make you stop and check.

$ nmap -sV 192.168.1.40

Starting Nmap 7.94 ( https://nmap.org )
Nmap scan report for 192.168.1.40
Host is up (0.0015s latency).
Not shown: 995 closed tcp ports (reset)
PORT    STATE    SERVICE VERSION
21/tcp  open     ftp     vsftpd 2.3.4
22/tcp  open     ssh     OpenSSH 7.2p2
23/tcp  filtered telnet
80/tcp  open     http    Apache httpd 2.4.18
445/tcp closed   microsoft-ds

Service detection performed. Please report any incorrect results
at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 6.40 seconds

Quick reference — the ports in these scenarios

PortServicePortService
21FTP110POP3
22SSH143IMAP
23Telnet443HTTPS
25SMTP445SMB (Microsoft-DS)
53DNS3306MySQL
80HTTP3389RDP (ms-wbt-server)

On the exam, a port number is usually the whole question: if you know 3389 is RDP and 445 is SMB, the "which service is exposed?" questions answer themselves. The Common Ports Quiz drills all of these.

Port states show up on Network+, PenTest+ and CySA+

Reading scan output is a small skill with an outsized exam payoff. Try the free 30-question samples and see where you stand.

Free Network+ SampleFree CySA+ Sample

Port scanner FAQ

What does "filtered" mean in an Nmap scan?

Filtered means Nmap got no response to its probe, so it cannot tell whether the port is open or closed. It usually means a firewall is dropping the packets. Never read "filtered" as "closed" — a live service may be hiding behind the filter.

What is the difference between "closed" and "filtered"?

A closed port answered with a reset (RST): the host is reachable and no service is listening there. A filtered port answered with nothing at all. Closed is information; filtered is the absence of information.

What does Nmap -sV do?

-sV is version detection: after finding the open ports, Nmap probes each one and reports the service and version running there, for example "vsftpd 2.3.4" on port 21. That version is what you check against known vulnerabilities — and what tells you a service is out of date and needs patching.

Is it legal to run a port scan?

Only on systems you own or have explicit permission to test. Scanning without authorisation can be illegal and can be treated as the start of an attack. On the exam, "do not scan further without authorisation" is very often the correct next step.

More free tools

Common Ports QuizQuiz & flashcards for the well-known ports Network+ Interactive LabAnimated packet, config & ordering PBQs Subnet CalculatorIPv4 CIDR, network & broadcast addresses OSI Model QuizLearn the 7 layers and test yourself DNS & DHCP LabHow name resolution and leasing really work All Free ToolsThe CertCrack tools hub