mac listen port 80 code example Example: mac find who is using port 8080 $ lsof -i :8080 | grep LISTEN or $ ps -ef 42975