how to check ports open on ip using ubuntu code example Example: see what is using a port ubuntu $ sudo lsof -i:22