Port Hunt: see which ports are open
A TCP port scanner for checking your own servers, firewall rules and network devices. Give it a host and a list of ports and it says which are open, closed or silent.
Only scan systems you own or have permission to test.
A host, the ports, and go
Type a host name or an IPv4 or IPv6 address. Pick a preset or write your own list, such as 22,80,443,8000-8100, and see how long the scan can take before you start it.
- Presets: common, web, remote access, mail, databases, network devices, 1-1024 and all ports
- Wait 0.5, 1, 2 or 5 seconds for an answer
- Progress and cancel, with the likely ports tried first
Keep what you found
Scans stay on this computer. Open an earlier one, run it again or delete it, and export the view you have chosen to CSV or JSON.
Four clear answers
Open, closed (refused), timed out (usually a firewall, or the host is down) or error. Each open port shows how long it took to answer.
Scans in the app's engine
Up to 200 new connections a second, one scan at a time: the common ports can finish in under a second, all 65,535 take about five and a half minutes or more.
Plain TCP connections
It connects and closes without sending anything, so the service name is the usual one for that number, not a detection. No UDP, SYN scanning, banner grabbing or subnet sweeps.
Your history, your computer
Scan history is stored locally and is not offered for web sync.
Export
Save results as CSV or JSON for a ticket, a report or a script.
Sandboxed and open source
It may look up names, open TCP connections, reach your local network and save a file you choose, and asks first. Apache 2.0, never run as administrator.
On the command line too
port-hunt does everything the tool's page does, with no
app and no account. Its history is its own, separate from the app's.
- Text, JSON or CSV output
- Exit code 0 when something is open, 3 when nothing is
- Scheduled scans as systemd user timers on Linux; on macOS and Windows it prints the command to schedule yourself
- Downloads are checked against the release's checksums
It arrives with release 0.3.0, which is not published yet.
Use
# The common ports, or your own list
port-hunt scan 192.168.1.1
port-hunt scan server.example.com -p 22,80,443,8000-8100
# See how long it would take, sending nothing
port-hunt scan 192.168.1.1 --preset all --dry-run
# For scripts and reports
port-hunt scan 192.168.1.1 --json
port-hunt scan 192.168.1.1 -o results.csv
# Scan every six hours (systemd on Linux)
port-hunt schedule add 192.168.1.1 --every 6h
port-hunt history Add it from the app
Port Hunt runs inside TekWorks Central 0.2.0 or newer, on Windows, macOS and Linux. Open Discover, choose it under Tools, and approve what it asks for.
On Windows a refused connection can take about two seconds to be reported, so choose a wait of 2 or 5 seconds there. Port Hunt has not yet been tested on Windows.