Kill the process hogging your port. One command. Zero memory strain.
"Because kill -9 $(lsof -t -i:3000) is too long to remember when your server refuses to start."
Download killport.py and either:
- Make it executable and move to your PATH:
chmod +x killport.py # Then move to /usr/local/bin or similar - Or just run it directly with Python:
python killport.py <port>
# Kill process on port 3000
killport 3000
# Force kill with SIGKILL (Linux/macOS)
killport 3000 --forceMIT
