If I have a mongo instance running, how can I check what port numbers it is listening on from the shell? I thought that db.serverStatus()
would do it but I don't see it. I see this
"connections" : {
"current" : 3,
"available" : 816
Which is close... but no. Suggestions? I've read the docs and can't seem to find any command that will do this.
This question is related to
mongodb
Source: Stackoverflow.com