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.
> 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
- 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.

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.

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.

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.
Up and running in a minute
No installer, no setup, no admin rights. Download one file and run it.
Download and run
Save PortStat.exe in any folder and double-click it. An icon with a live port count appears in the tray.
See what's listening
Click the icon or press Ctrl+Alt+P. Every port shows its process, command and project.
Open, restart or stop
One button per action. Turn on "Launch at login" so it's always there when you need it.
Built for what you do next
Other tools tell you who holds a port. PortStat helps you deal with it.
| PortStat | netstat + taskkill | TCPView | npx 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 | ✓ | ✓ | ✓ | ✕ |
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"?
- PortStat isn't code-signed yet, so SmartScreen warns the first time.
- Click More info, then Run anyway.
- Windows remembers this for the file.
📦 Prefer Scoop?
scoop bucket add preraksh10 https://github.com/preraksh10/scoop-bucketscoop install preraksh10/portstatHow 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.
