killport bash application allows to forcefully kill the process associated with any given port numbers and free up the ports.
-
Clone the repository
git clone https://github.com/Lakmal98/killport.git -
Build package using
cd killport; make install -
Give executable permission
sudo chmod +x /usr/bin/killport.sh -
Install
dpkg -i killport.deb
| Command | Description |
|---|---|
| killport [PORT1] [PORT2] ... [PORTn] | kill the process associated with given ports |
| killport -v or --version | show version of the package |
| killport -h or --help | show help about the package |
Ex: To kill port numbers 3000, 8080 and 5000
killport 3000 8080 5000
sudo dpkg -r killport