DEV Community

Cover image for Finally, a GUI for your ports!
Prerak Mathur
Prerak Mathur

Posted on

Finally, a GUI for your ports!

This was my life:

$ npm run dev
Error: listen EADDRINUSE: address already in use :::3000
$ lsof -nP -iTCP:3000 -sTCP:LISTEN   # node 30014… cool, which one?
$ kill 30014                          # hope it's the right one
Enter fullscreen mode Exit fullscreen mode

After killing the wrong node one too many times, I built the tool I wanted.

Sokket

A native Mac app that lists every port and names it after the project behind it (from package.json, Cargo.toml, go.mod, git remote…). So you see storefront · next dev · 14% CPU, with a Kill button next to it.

killPort

What I actually use it for:

Port taken? Search 3000, see what it is, kill it.
Docker ports show the container, not a random proxy process.
Testing on my phone: Forward → scan the QR code.
"Slow after 20 minutes" bugs: record, then replay the moment memory climbed.
No admin rights, no account, nothing leaves your Mac.

Try it
Free, macOS 14+ on Apple silicon. It's not notarized yet, so the smooth way in is:
curl -fsSL https://sokket.app/install.sh | bash

Or grab the .dmg at https://sokket.app.

Hope it saves you some time. If it does, I'm saving for a new MacBook: https://www.buymeacoffee.com/prerak20

Top comments (0)