Skip to content

kill-this-port is a Python utility to quickly identify and kill processes running on a specified port. It is ideal for developers managing networked applications who often encounter port conflicts.

License

Notifications You must be signed in to change notification settings

aadityakanjolia4/kill-this-port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kill-this-port

kill-this-port is a Python utility to quickly identify and kill processes running on a specified port. It is ideal for developers managing networked applications who often encounter port conflicts.

Features

  • Check Port Usage: View which processes are using a specific port.
  • Kill Processes: Safely terminate processes occupying a port.
  • Force Kill: Use a forceful approach to stop stubborn processes.

Installation

Install the utility using pip:

pip install kill-this-port

Usage

  1. Check Port Usage:

    checkport [port]

    Example:

    checkport 8000
  2. Kill Process by Port:

    killport [port]

    Example:

    killport 8000
  3. Force Kill Process by Port:

    killport --force [port]

    Example:

    killport --f 8000

Example

To check port 3000 usage:

checkport 3000

To kill the process using port 3000:

killport 3000

To forcefully kill the process:

killport --force 3000

Author

Aaditya Kanjolia

GitHub: aadityakanjolia4

About

kill-this-port is a Python utility to quickly identify and kill processes running on a specified port. It is ideal for developers managing networked applications who often encounter port conflicts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages