Skip to content

amanhammadK/killport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

killport

Kill the process hogging your port. One command. Zero memory strain.

Python License Platform

Demo

Why?

"Because kill -9 $(lsof -t -i:3000) is too long to remember when your server refuses to start."

Installation

Download killport.py and either:

  1. Make it executable and move to your PATH:
    chmod +x killport.py
    # Then move to /usr/local/bin or similar
  2. Or just run it directly with Python:
    python killport.py <port>

Usage

# Kill process on port 3000
killport 3000

# Force kill with SIGKILL (Linux/macOS)
killport 3000 --force

License

MIT

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages