v1.0.0 Free & open source for Windows 10 / 11 →

Port 3000 already in use?
Free it in one click.

PortStat sits in your Windows tray and shows every local server holding a port: what it is, which project it belongs to, and one button to open, restart or stop it.

📱 You're on a phone. PortStat runs on Windows PCs: copy the link and open it on your computer.

No installer No account No telemetry MIT licensed
:3000 is freenode.exe stopped
nodemon stopped tooso it can't respawn
Ctrl + Alt + Pfrom anywhere
PortStat listing local dev servers on ports 4000, 3000, 5173 and 8000 with Pin, Open, Restart and Kill buttons
1 clickto free a port
13 MBsingle portable .exe
0accounts or telemetry
100%free and open source
The problem

You know this error.
Here's the faster fix.

An old dev server is still holding the port. Finding it by hand takes several commands, and a watcher like nodemon may start it again anyway.

WITHOUT The usual routine
> npm run dev
Error: listen EADDRINUSE: address already in use :::3000

> netstat -ano | findstr :3000
  TCP  0.0.0.0:3000  0.0.0.0:0  LISTENING  18244
> tasklist /FI "PID eq 18244"
  node.exe   18244  Console  1   84,120 K
  # ...but which project is that?
> taskkill /PID 18244 /F
  SUCCESS: The process with PID 18244 has been terminated.
> npm run dev
Error: listen EADDRINUSE  # nodemon restarted it
5 commands, and the server came back.
WITH PORTSTAT One window, one click
  • 1Press Ctrl + Alt + P, or click the tray icon.
  • 2See :3000 · node.exe with its command, project folder, memory and uptime.
  • 3Click Kill. PortStat stops the server and the watcher behind it, so the port stays free.
PortStat rows for ports 4000, 3000, 5173 and 8000 with Open, Restart and Kill buttons
1 click, and you know exactly what you stopped.
Features

Everything you need.
Nothing you don't.

Node, Python, Go, .NET, Java, Docker: anything listening on a TCP port shows up.

Know exactly who owns the port

Process, PID, the real command line and the project folder, so you know which app it is before you stop it. Filter by port, process or folder.

PortStat showing Node.js and Python dev servers with their commands and project folders

Docker and WSL aware

Docker ports show their container name and stop with docker stop. Docker Desktop and WSL networking are never killed by accident.

PortStat filtered to Docker containers orders-db and cache-redis

Kill that stays killed

Also stops the watcher (nodemon, uvicorn --reload, Django and Flask reloaders) that would bring it back.

Restart in place

Relaunches with the original command, folder and environment, then confirms the port is back.

Safe by design

Critical Windows processes are never stopped, even as admin. "Stop all" skips databases and asks first.

Live tray badge

The tray icon counts active dev ports (3000, 5173, 8000, 8080…) plus any port you pin.

Command line too

PortStat.exe --list and --kill 3000 for scripts and terminals.

Keyboard first

Ctrl+F filter, Enter open, Del stop, Esc hide.

How it works

Up and running in a minute

No installer, no setup, no admin rights. Download one file and run it.

1

Download and run

Save PortStat.exe in any folder and double-click it. An icon with a live port count appears in the tray.

2

See what's listening

Click the icon or press Ctrl+Alt+P. Every port shows its process, command and project.

3

Open, restart or stop

One button per action. Turn on "Launch at login" so it's always there when you need it.

Compare

Built for what you do next

Other tools tell you who holds a port. PortStat helps you deal with it.

PortStatnetstat + taskkillTCPViewnpx kill-port
Tray icon and global hotkey✓✕✕✕
Shows the command and project folder✓✕✕✕
Stops reloaders that restart the server✓✕✕✕
Restart with the original command✓✕✕✕
Docker container aware✓✕✕✕
No Node.js required✓✓✓✕
Download

Get PortStat for Windows

One portable file. Put it anywhere, double-click, done.

Download PortStat.exe
  • Version 1.0.0 · 13.4 MB · Windows 10 and 11, 64-bit
  • Built from the public source by GitHub Actions
  • SHA256 checksum published with every release

🛡️ "Windows protected your PC"?

  1. PortStat isn't code-signed yet, so SmartScreen warns the first time.
  2. Click More info, then Run anyway.
  3. Windows remembers this for the file.

📦 Prefer Scoop?

scoop bucket add preraksh10 https://github.com/preraksh10/scoop-bucket
scoop install preraksh10/portstat
FAQ

Questions, answered

Something else? Open an issue on GitHub.

How do I find which process is using a port on Windows?

Without tools: run netstat -ano | findstr :3000, note the PID in the last column, then look it up with tasklist /FI "PID eq 1234". With PortStat: open it from the tray (or press Ctrl+Alt+P) and every listening port is listed with its process, PID, command line and project folder.

How do I fix EADDRINUSE / "port 3000 is already in use"?

Another process is already listening on that port, often an old dev server left running. Stop it with taskkill /PID <pid> /F, click Kill on that port in PortStat, or run PortStat.exe --kill 3000.

Why does my dev server come back after I kill it?

Watchers such as nodemon, uvicorn --reload or Django's autoreloader restart the server when it exits. Killing only the process on the port lets them respawn it. PortStat detects the watcher and stops it together with the server.

Windows says "Windows protected your PC". Is PortStat safe?

PortStat isn't code-signed yet, so Windows SmartScreen warns about any new unsigned exe. Click More info, then Run anyway. The exe is built from the public source by GitHub Actions, and each release includes SHA256SUMS.txt so you can check the download.

Does it work with Docker and WSL?

Yes. Ports published by Docker show the container name and are stopped with docker stop. PortStat never kills Docker Desktop's backend or WSL's port relay, which would break every container and WSL port at once.

Is PortStat free?

Yes. It's free and open source under the MIT license, with no account, no telemetry and no network calls. It never terminates critical Windows processes such as lsass.exe or svchost.exe.

Stop hunting for PIDs.
Start shipping.

Free, open source, and one click away.

Download for Windows
Download for Windows