hhow to stop port 8080 on ubuntu code example
Example 1: how to stop running port in ubuntu
sudo kill -9 `sudo lsof -t -i:{PORT_NUMBER}`
Example 2: hhow to stop port 8080 on ubuntu
lsof -i:8080
Example 3: hhow to stop port 8080 on ubuntu
kill $(lsof -t -i:8080)