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