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