linux see what is using a port 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'