Online Port Scanner

Check open, closed, and filtered TCP ports on any domain or IP. Scan 19 common ports or define custom ranges up to 100 — free and instant.

Presets:

Why Port Scanning Matters for Server Security

Every open port on your server is a potential attack surface. Port scanning lets you audit your server's exposure from an external perspective — exactly what an attacker sees when probing your infrastructure.

Common security issues port scanning reveals:

  • Exposed databases: MySQL (3306), PostgreSQL (5432), Redis (6379), and MongoDB (27017) should never be publicly accessible.
  • Unrestricted SSH: Port 22 open to 0.0.0.0/0 is a brute-force target — restrict to known IPs.
  • Development servers: Ports like 8080 or 3000 accidentally left open in production environments.
  • Legacy services: Telnet (23), unencrypted FTP (21) — deprecated protocols with known vulnerabilities.
  • RDP exposure: Port 3389 open publicly is a ransomware entry point — always tunnel through VPN.

Understanding the results

Each scanned port returns one of three states. Open means a service accepted the TCP connection. Closed means the host reachable but nothing is listening. Filtered means a firewall silently dropped the probe — common on production servers with strict allowlists.

  • Port 22 open: SSH is reachable; safe only if key-based auth and IP restrictions are in place.
  • Port 443 open, 80 closed: HTTPS-only policy, good practice.
  • Port 3306 open externally: MySQL should almost never be internet- facing — bind to localhost or a private network.
  • All ports filtered: strong firewall posture, but ensure your app ports are actually reachable from where they need to be.

Common issues and fixes

  • SSH (22) open to 0.0.0.0/0: restrict to specific IPs via security group; enable fail2ban and disable password auth.
  • Redis (6379) with no auth: Redis defaults to no password — add requirepass and bind to a private interface immediately.
  • PostgreSQL (5432) exposed: restrict pg_hba.conf to internal CIDRs and front the DB with a bastion or VPN.
  • Admin panel on 8080/8443: move behind VPN or protect with IP allowlist and strong auth; default admin interfaces are scanned constantly.
  • Unexpected open port: could be a forgotten dev service — audit with ss -tlnp on the host and kill what you do not recognize.

What to do next

Treat every unexpected open port as a potential intrusion point: close it, move it behind a VPN, or firewall it to known source IPs. Re-scan after changes to confirm exposure is gone.

For continuous monitoring, FlashMon.app tracks changes automatically and alerts you the moment something breaks.

Monitor your ports 24/7

Get instant alerts when unexpected ports open or critical services go down.

Start Free Trial

Frequently Asked Questions