how to kill the process running on specific port in ubuntu code example Example: ubuntu stop process on port sudo kill -9 `sudo lsof -t -i:{PORT_NUMBER}`