Kill a process running on port x on Linux

sudo kill -9 `sudo lsof -t -i:[x]`

where [x] is the port number

dcmst
dcmst
Yet Another Python developer

Python developer | Linux Enthusiast | Wine Geek

Related