task on port ubuntu code example
Example 1: ubuntu check process on port
sudo lsof -i:22
Example 2: ubuntu stop process on port
sudo kill -9 `sudo lsof -t -i:{PORT_NUMBER}`
sudo lsof -i:22
sudo kill -9 `sudo lsof -t -i:{PORT_NUMBER}`