how to know which process run on port ubuntu code example
Example 1: ubuntu check process on port
sudo lsof -i:22
Example 2: how to find process running on port in ubuntu
sudo lsof -i:8080
sudo lsof -i:22
sudo lsof -i:8080