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