β οΈKill a process on a port [Linux]
how one can kill a process on a port on ubuntu
How to kill a process on a port on ubuntu
sudo kill -p `sudo lsof -t -i:9001`sudo kill -p $(sudo lsof -t -i:9001)FOR UBUNTU
1- Find what application/process is using the pro, type:
sudo netstat -lpn |grep :8080tcp6 0 0 :::8080 :::* LISTEN 6782/javaYou will get an output similar to this one
kill -p 6782Last updated