see process linux port code example
Example 1: linux check what process is using port
$ netstat -ltnp | grep -w ':80'
Example 2: linux which process is using a port
$ sudo netstat -ltnp | grep ':80'
$ netstat -ltnp | grep -w ':80'
$ sudo netstat -ltnp | grep ':80'