Port Scanner

Check which common TCP ports are open on a server you run, seen from the internet rather than from inside your own network. Only scan hosts you own or have permission to test.

A port scan checks whether a host is accepting connections on particular TCP ports. Each open port represents a service listening for traffic — a web server, a mail server, a database — and therefore a way in that needs to be deliberately intended rather than accidental.

This tool checks a set of commonly used ports. Only scan hosts you own or have permission to test.

What open, closed and filtered mean

Open means something accepted the connection. A service is listening and reachable from the internet.

Closed means the host answered but refused — it is online, nothing is listening on that port. This is a perfectly healthy state.

Filtered means nothing came back at all. A firewall is most likely dropping the packets silently. From outside it is impossible to distinguish "a firewall is blocking this" from "the host is down", which is the entire point of dropping rather than refusing.

Ports worth recognising

A handful of port numbers cover most of what a scan turns up:

  • 22 (SSH) — remote administration. Expected on a server; worth confirming it accepts keys rather than passwords.
  • 80 and 443 (HTTP/HTTPS) — web traffic. Normal on anything serving a website.
  • 25, 465, 587 (SMTP) — mail transfer. Open port 25 on a machine that is not a mail server is worth investigating.
  • 3306 (MySQL) and 5432 (PostgreSQL) — databases. These should almost never be reachable from the open internet; bind them to localhost or put them behind a private network.
  • 3389 (RDP) — Windows remote desktop, and a constant target of automated attacks. If it must be exposed, put it behind a VPN.
  • 21 (FTP) — file transfer in the clear, credentials included. Use SFTP instead.

Interpreting a scan of your own address

Scanning your home IP usually shows everything filtered, and that is the correct result. A typical router does network address translation and forwards nothing inbound unless told to, so there is nothing to connect to.

An unexpected open port on a home connection is worth chasing down. The usual culprits are UPnP — where an application asked the router to open a port automatically — or a port-forwarding rule set up for something long since abandoned. Both are worth reviewing in the router's admin interface.

Scan responsibly

Port scanning a host you do not control is, at best, impolite, and depending on where you and the target are located it may be unlawful. Many providers treat unsolicited scanning as an acceptable-use violation regardless of intent.

Use this against your own servers, or with the documented permission of whoever owns the target. Requests through this tool are rate limited.

Frequently asked questions