Platform

Platform overview How it works Authorization testing Evidence & reports Private scanning Integrations

Solutions

Security agencies Product teams Regulated industries Partner programme

Learn

Blog Knowledge hub Compare

Resources

Pricing Documentation Help centre FAQ Security & data What we haven’t proved

Company

About Contact Careers Sign in to the platform Start a $199 pilot →

Home / Knowledge hub / Port scanning

Knowledge hub

Port scanning

Checking which network doors on a server are open and listening.

Illustration explaining Port scanning

What it means

Port scanning is the practice of sending connection requests to the numbered ports on a server to see which are open and what service is listening behind them. A web server usually answers on 443, remote administration on 22 or 3389, a database on its own port. Tools such as Nmap automate it.

The idea that makes it click: each open port is a service that someone has to keep patched and configured. Scanning does not break anything by itself. It is a map-making step, and the map shows which services are reachable from where the scanner stands.

Why it matters

Attackers scan the internet continuously and pick up new servers within hours of them appearing. A database port left open to the world, or an old admin service nobody remembered, is found long before you review it. That is part of your attack surface.

For your business the effect is simple: exposed services get probed and, if weak, used. Open databases, cache servers and remote desktop ports have a long record in breaches. Knowing what is open from outside is the first step of vulnerability management.

How it shows up

You meet it in two ways. Defenders scan their own addresses from outside, to compare what is open with what should be, and attackers do the same without asking. In cloud accounts, an overly broad security group is the usual reason a port is open that nobody intended.

Repeating mistakes: a test database opened to the internet for convenience, management interfaces on public addresses, and services left running after a project ended. The fix is a default of closed, with only the needed ports allowed, plus a firewall rule per service. Rescan after each infrastructure change, not once a year.

Questions people ask

Port scanning, answered

Is port scanning illegal?

Rules vary by country and context. Scanning systems you own or have written permission to test is normal practice. Scanning other people's systems without permission can breach computer misuse laws or acceptable-use terms.

Always get written authorisation before scanning anything that is not yours.

Does a port scan find vulnerabilities?

Not directly. It shows which ports are open and often which service and version answers. Matching that to known flaws is a further step.

A web application's logic flaws will not appear in a port scan at all.

Which ports should be open to the internet?

Only those the service needs, usually 80 and 443 for a website. Databases, caches, remote administration and message brokers should normally be reachable only from inside your network or through a controlled path.

Review each open port against a named reason.

Can a firewall hide open ports?

A firewall can block or silently drop traffic to ports so they appear closed or filtered. That reduces what a scanner learns.

It does not fix a flaw in a service that remains reachable, so keep the service patched too.

How often should we scan our own addresses?

Regularly and after any change to hosting, networking or cloud settings. Many teams schedule it weekly or daily for internet-facing addresses.

Continuous checks catch the port opened by a quick fix that was never reversed.

Cyberlop mark

What can the internet reach today?

Ports are only the first layer. We find vulnerabilities in the web apps and APIs behind them and report only what we exploited. Ask us to run it on one of your applications.

Or start with a $199 pilot on one application: thirty days, success criteria agreed before day one, credited against the annual if you convert.