get process using port command 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:<port_number>
$ netstat -ltnp | grep -w ':80'
sudo lsof -i:<port_number>