find process running 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
Example 3: ubuntu get process on port
lsof -i -P -n
sudo lsof -i:22
sudo lsof -i:8080
lsof -i -P -n