You can do this from the Operating System shell by running:

sudo lsof -iTCP -sTCP:LISTEN | grep mongo