title: how can I see what ports mongo is listening on from mongo shell?
body: <p>If I have a mongo instance running, how can I check what port numbers it is listening on from the shell? I thought that <code>db.serverStatus()</code> would do it but I don't see it. I see this</p>
  
  <pre><code>"connections" : {
      "current" : 3,
      "available" : 816
  </code></pre>
  
  <p>Which is close... but no. Suggestions? I've read the docs and can't seem to find any command that will do this. </p>