how to see what is running on a port linux code example
Example 1: ubuntu check process on port
sudo lsof -i:22
Example 2: find out which procses is using port linux
sudo lsof -i:<port_number>
Example 3: linux see used ports
netstat -tulpn
Example 4: check what ports are open linux
## if you use linux
sudo ss -tulw