linux check what program is using port 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: linux see used ports
netstat -tulpn
$ netstat -ltnp | grep -w ':80'
sudo lsof -i:22
netstat -tulpn