Latest / Developer tools

Killport

github.com · Open source · Active

CLI that kills processes and containers listening on given ports

Visit github.com ↗Share

  • kill port
  • free port
  • kill process on port
  • docker port kill
  • port cleanup cli
Stars
1.8k
Forks
44
Open issues
1
Last commit
Releases
13
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

Killport is a command-line tool that stops whatever process or container is running on a port you specify. It suits developers who run local servers and need to free a port quickly.

Repository description on GitHub: “A command-line tool to kill processes and containers running on specified ports.”

What it does

  • Kills processes and containers listening on given ports
  • Dry-run mode to preview what would be killed
  • Signal control for SIGTERM, SIGKILL and others
  • Shell completions for bash, zsh and fish

Good for

  • Free a port held by a stuck local dev server
  • Stop a container bound to a port from the terminal
  • Preview which process holds a port before killing it

Suits: Developers who run local servers and need to free a port quickly.

What you can try

Read the README on GitHub and install from source.

Install

brew install killport
cargo install killport

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Killport on , when jkfran posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Killport had been shipping tagged releases for 37 days before it was found. 13 releases have been published in total; the latest is v2.0.2 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 153 points, 136 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 3 releases shipped

  • 3 releases in the first 30 days: v0.7.0 (2 May 2023), v0.8.0 (5 May 2023), v0.9.0 (13 May 2023)
  • Show HN discussion at check time: 153 points, 136 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (3 in total, busiest month 1).
  1. Repository created on GitHub: jkfran/killport
  2. Release v0.1.0
  3. Found: jkfran posted it to Show HN. Show HN
  4. Release v0.9.2
  5. Release v1.0.0
  6. Release v1.1.0
  7. Release v2.0.0
  8. Release v2.0.1
  9. Release v2.0.2
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 13 releases. All releases on GitHub

Quick answers

When was Killport released?
Its first tagged release on GitHub is dated 19 Mar 2023. Kip found it on Show HN on 25 Apr 2023.
Is Killport open source?
Its source is public on GitHub at jkfran/killport under the MIT licence.
What does Killport run on?
Command line, Linux, macOS, Windows.
Is Killport free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Killport still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryjkfran/killport
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-35698282. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.