linux how to find process using port code example
Example 1: linux check what process is using port
$ netstat -ltnp | grep -w ':80'
Example 2: how to find process running on port in ubuntu
sudo lsof -i:8080
$ netstat -ltnp | grep -w ':80'
sudo lsof -i:8080