This product was not featured by Product Hunt yet. It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).
porthole
See which project owns a port and kill it in one keystroke
porthole shows every port listening on your machine with the project that owns it (from the nearest package.json, go.mod, Cargo.toml orgit) and the Docker container behind it. Kill one in a keystroke from an animated TUI, or script it with the CLI. Every kill checks PID and start time first, sends SIGTERM, and uses SIGKILL only if it's ignored. Protected ports, watch mode, an opt-in auto-kill daemon and a local web dashboard. One Go binary for macOS, Linux and Windows. Free, MIT.
Hey Product Hunt! I'm Subhadip, and I built porthole because I was tired of this loop: start a dev server, get "port 3000 already in use", run lsof -i :3000, see node, and still have no idea which of my ten projects is holding it.
porthole answers the question you actually have:
Which project owns this port? It walks up from the process's working directory to the nearest package.json, go.mod, Cargo.toml, pyproject.toml or .git and shows the project name. Docker-published ports show the real container, and killing one runs docker stop.
Is it safe to kill? Right before signalling, it checks the PID and the process start time still match what it scanned, so a recycled PID never takes down the wrong thing.
What happens when I hit kill? Always the same ladder: SIGTERM, wait, SIGKILL only if it was ignored. Same code path in the TUI, CLI, daemon and web dashboard.
You get an animated TUI (just type porthole), a scriptable CLI with --json, a headless watch mode, restart, kill history, protected ports that need the port number typed back, and an opt-in auto-kill daemon that's dry-run by default.
It's a single Go binary for macOS, Linux and Windows, free and MIT licensed: brew install subh05sus/tap/porthole
I'd love to hear how you deal with stuck ports today, and what you'd want porthole to do next.
No comment highlights available yet. Please check back later!
About porthole on Product Hunt
“See which project owns a port and kill it in one keystroke”
porthole was submitted on Product Hunt and earned 3 upvotes and 1 comments, placing #102 on the daily leaderboard. porthole shows every port listening on your machine with the project that owns it (from the nearest package.json, go.mod, Cargo.toml orgit) and the Docker container behind it. Kill one in a keystroke from an animated TUI, or script it with the CLI. Every kill checks PID and start time first, sends SIGTERM, and uses SIGKILL only if it's ignored. Protected ports, watch mode, an opt-in auto-kill daemon and a local web dashboard. One Go binary for macOS, Linux and Windows. Free, MIT.
porthole was featured in Productivity (666.4k followers), Open Source (69.1k followers), Developer Tools (523.7k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 333.9k products, making this a competitive space to launch in.
Who hunted porthole?
porthole was hunted by Subhadip Saha. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.
Want to see how porthole stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.
Hey Product Hunt! I'm Subhadip, and I built porthole because I was tired of this loop: start a dev server, get "port 3000 already in use", run
lsof -i :3000, see node, and still have no idea which of my ten projects is holding it.porthole answers the question you actually have:
You get an animated TUI (just type
porthole), a scriptable CLI with--json, a headless watch mode, restart, kill history, protected ports that need the port number typed back, and an opt-in auto-kill daemon that's dry-run by default.It's a single Go binary for macOS, Linux and Windows, free and MIT licensed:
brew install subh05sus/tap/portholeI'd love to hear how you deal with stuck ports today, and what you'd want porthole to do next.