rliu
(rliu)
26
I appreciate your patient. Still doesn’t work
My OS is:
|Edition|Windows 10 Pro|
|Version |22H2|
|Installed on |8/8/2022|
|OS build|19045.2486|
|Experience | Windows Feature Experience Pack 120.2212.4190.0|
So far I had failed trying on the connection strings:
mongodb://localhost:27017,localhost:27018,localhost:27019/?replicaSet=myReplicaSet&tls=false
mongodb://mongo1:27017,mongo2:27018,mongo3:27019/?replicaSet=myReplicaSet&tls=false
mongodb://mongo1:27017,mongo2:27018,mongo3:27019/?replicaSet=myReplicaSet&readPreference=primary&appname=MongoDB%20Compass&directConnection=false&ssl=false
mongodb://172.20.0.1:27017,172.20.0.2:27018,172.20.0.3:27019/?replicaSet=myReplicaSet&readPreference=primary&directConnection=false&ssl=false
The above docker container IP addresses acquired by command
docker inspect container_id (9f64ba814343)
And more or less the /options here and there where I prefer not to exhaust all of my trials. The Compass always returns me error:
getaddrinfo ENOTFOUND mongo1/2/3
Note: I followed the Mongo instruction so we have common ground here at least.