Hacker GitHub

← All repos

jkfran/killport

View on GitHub ↗ ★ 1,842 Rust

A command-line tool to kill processes and containers running on specified ports.

9 mentions on Hacker News by 7 people: 4 stories, 5 comments · first 2023-03-27 · latest 2026-03-20

Mentions per year 9 mentions · busiest year 2023 (7)
20082026
  1. …this and starting to use it daily! For the even less patient there's also this (not mine): https://github.com/jkfran/killport
  2. ▲ 1
    Killport: CLI to quickly terminate processes listening on specified ports
    story by Olshansky · 2026-01-22 · 0 comments
  3. I love how there's a special case behavior for the hardcoded process name "docker." Just incredible: https://github.com/jkfran/killport/blob/main/src/linux.rs#L9... But seriously kids, take the time to learn Unix tools so you can save…
  4. Looking at https://github.com/jkfran/killport/blob/3a43d037c08ab3aec730... , it will match on all four.
  5. …an UNIX one liner), and an unhandled crash could lower the confidence of the user in the tool. [1] https://github.com/jkfran/killport/blob/3a43d037c08ab3aec730... [2] https://github.com/jkfran/killport/blob/3a43d037c08ab3aec730...
  6. Holy smokes: https://github.com/jkfran/killport/blob/main/src/linux.rs#L8...
  7. ▲ 153
    Show HN: Killport – CLI tool to kill processes running on a specified port
    story by jkfran · 2023-04-25 · 136 comments
  8. ▲ 1
    Killport – CLI command for Linux and Mac to kill processes
    story by jkfran · 2023-03-31 · 0 comments
  9. ▲ 1
    Killport – CLI command written in Rust to kill processes
    story by jkfran · 2023-03-27 · 0 comments