how can I see what ports mongo is listening on from mongo shell?

The Solution to how can I see what ports mongo is listening on from mongo shell? is


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

sudo lsof -iTCP -sTCP:LISTEN | grep mongo

~ Answered on 2012-02-19 10:40:03


Most Viewed Questions: