Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Apr 20, 2021

Seeing ports that Clusters listen to

In your documentation and even through the atlas web api, there is no straightforward method to see what ports my clusters communicate on. This is highly frustrating as I am using the Mongodb Atlas Private endpoint and need to Allow Inbound/Outbound communications on certain ports for the endpoint to work.
  • Attach files
  • Guest
    Apr 21, 2021
    Hi Andrew, Apologies for this experience. This is visible in the connection string that shows under the "Connect" experience if you select the connection string for the earlier generation drivers (those drivers expected a comma-delineated list of nodes rather than our more concise modern SRV records which hide this detail). This is also available via the Atlas API Clusters endpoint for programmatic access (see "connectionStrings.privateEndpoint[n].connectionString" under https://docs.atlas.mongodb.com/reference/api/clusters-get-all/ ) -Andrew