how to find what is running on a port mac code example Example: port finding in macos $ lsof -nP -iTCP -sTCP:LISTEN | grep 8000