A simple utility to kill processes running on a specified port
Project description
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
-
Check Port Usage:
checkport [port]
Example:
checkport 8000
-
Kill Process by Port:
killport [port]
Example:
killport 8000
-
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kill_this_port-1.0.1.tar.gz.
File metadata
- Download URL: kill_this_port-1.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3712855c83c1a58827a3bab50e17b6a9f9707d530efe58b440ee6df18fd1bddf
|
|
| MD5 |
baa1ad204ec6a60de0a2f3c17dddc2ca
|
|
| BLAKE2b-256 |
43bfa184ce54f2f047692161ca8e66a29666fd1f731e7e21a1ebdb46d9980897
|
File details
Details for the file kill_this_port-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kill_this_port-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9baa1d79d4ac627fe723f731d0d3bc1f47fe6c3481c7de674889b1a37fd12b70
|
|
| MD5 |
ea8d197287aba76f7c42ee39a8d398b4
|
|
| BLAKE2b-256 |
d9f895154abe55f9e7995b5e2a67738f41d16d195c6b0515302b01f9dcff8035
|