Skip to content

Commit da8437a

Browse files
DOCSP-25670 Remove ports from SRV connection strings (#261)
1 parent 8cc922f commit da8437a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/includes/example-connect.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ You do not need to add the :urioption:`tls=true <tls>` option to a
6464
.. code-block:: shell
6565
6666
mongosync \
67-
--cluster0 "mongodb+srv://clusterAdmin:[email protected]:20020/" \
68-
--cluster1 "mongodb+srv://clusterAdmin:[email protected]:20020/"
67+
--cluster0 "mongodb+srv://clusterAdmin:[email protected]/" \
68+
--cluster1 "mongodb+srv://clusterAdmin:[email protected]/"
6969
7070
For more details about ``mongodb+srv`` connection strings, see
7171
:ref:`connections-dns-seedlist`.

source/includes/fact-connection-strings-atlas.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ connection string <mongodb-uri>` to connect clusters:
55

66
.. code-block:: none
77
8-
mongodb+srv://[username:password@][host.domain.TLD][:port][/defaultauthdb][?options]
8+
mongodb+srv://[username:password@][host.domain.TLD][/defaultauthdb][?options]
99
1010
For information on how to find your SRV connection
1111
string in Atlas, see :atlas:`Connect to Your Cluster

0 commit comments

Comments
 (0)