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.
-
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