Port Scanner & Nmap Command Generator

Prepare a basic TCP port scan for a server or network device you own or are explicitly authorized to assess. Generate a command you can run with Nmap on your own computer.

Authorized use only: Scan only systems you own or have clear permission to test. Port scans can trigger security alerts or violate acceptable-use rules. Start with a small, ordinary TCP scan and follow the system owner’s rules.
Enter an authorized target and choose a port selection.

What the scan means: open means an application accepted the connection; closed means the host responded but no application is listening; filtered means a firewall or network rule prevented Nmap from determining the state. Results are a point-in-time view and do not prove a system is secure.

This generator creates TCP connect scan commands (-sT) with a moderate timing profile (-T3). It does not perform stealth, evasion, vulnerability exploitation, or UDP scanning. Nmap must be installed separately.

What is a port scan?

A port scan checks which network ports on a system are accepting connections. Each open port is a service, such as a web server or remote access, that attackers could target. Administrators scan their own systems to find services that should not be exposed.

Common ports

  • 22: SSH remote administration.
  • 80 and 443: HTTP and HTTPS websites.
  • 445: Windows file sharing (SMB), which should not be exposed to the internet.
  • 3389: Remote Desktop, a frequent ransomware entry point when exposed.

How to use this tool

  1. Enter the host or address you own or are authorized to test.
  2. Choose the ports and options.
  3. Copy the generated Nmap command and run it from your own computer.
  4. Read the results: open means a service is listening, closed means no service, and filtered means a firewall is blocking probes.

Only scan with permission

This tool does not scan anything. It only builds a command. Scanning systems you do not own or have written permission to test can violate laws such as the US Computer Fraud and Abuse Act, as well as terms of service. This is not legal advice. Close unneeded ports and review exposure as part of your website security checklist and ransomware preparation.

Frequently asked questions

Is Nmap legal to use?

The software is legal. How you use it matters, so scan only your own systems or those you are authorized to assess.

Why does a port show as filtered?

A firewall or network device is dropping or blocking the probes, so Nmap cannot tell whether the port is open.

What should I do about unexpected open ports?

Identify the service, close or restrict it if it is unnecessary, and keep it updated if it must stay open.

This tool is for education and general use.