how to find what process is running on a port in 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
Example 3: find out which procses is using port linux
sudo lsof -i: