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