linux find pid using port code example
Example 1: linux check what process is using port
$ netstat -ltnp | grep -w ':80'
Example 2: find out which procses is using port linux
sudo lsof -i:
$ netstat -ltnp | grep -w ':80'
sudo lsof -i: