You should contact your system admin to see why your private server running on your private network is not running.
My RS is deploy on Azure cloud. I want to connect this RS cluster using connection string to my local laptop.
But not able connect
Is your cluster Atlas or self managed?
What is the connection string you are using?
is not enough to know what is happening. Any error messages?
My RS with a 3 nodes is deploy on RedHat 8 .0 servers (using AWS cloud). Now I want to connect this cluster on Robomongo/MongoDB compass using Connection string (mongodb://Mysuperuserdb:firstname.lastname@example.org:27017,mymongo.demo1.com:27017,mymongo.demo2.com:27017/?replicaSet=replicaset01&authSource=admin")
I have install both MongoDB GUI tools on my personal laptop, I already configured my DNS into /etc/hosts file
See below connection string for Robomongo GUI tools
You have have 3 nodes in your replica set.
Can you share the output of rs.status()?
Can you connect with mongosh directly (that is without replicaSet= option) to all of the nodes one by one?
OutPut of rs.status()
ping result of “mymongo.demo0.com”
I have tried to connect one by one node but not able to connect on MongoDB Compass/Robomongo
Most likely your 172.31.85.0 Network is not properly routed from your workstation. You need to adjust your routing tables. If you do not know how to do that ask your system admin. If they do not know how to do that use Atlas.
172.31.* IP addresses you are attempting to connect to are private network addresses that require you to be on the same local network or using a forwarding service (VPN or SSH) in order to connect.
Remote connection options are specific to your hosting configuration, but since you are connecting to a replica set deployment I would consider using an Azure VPN Gateway (perhaps Point-to-Site VPN from your laptop).