list all the processes running on a port code example Example: list process using port sudo lsof -n -i :80 | grep LISTEN