check what process using port linux code example
Example 1: ubuntu check process on port
sudo lsof -i:22
Example 2: process runninng on particular port
sudo ss -lptn 'sport = :80'
sudo lsof -i:22
sudo ss -lptn 'sport = :80'