how to see what app is using a port ubuntu code example Example: see what is using a port ubuntu $ sudo lsof -i:22