.Maui Blog

Kill process by port number in ubuntu

Assuming that the process we want to close is running on port 9222, run this command:

kill `sudo lsof -t -i:9222`
Exit mobile version