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