Who is listening on a given TCP port on Mac OS X?


lsof -n -i:$PORT