how to check process using 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:<port_number>