Unable to connect to compass

Hi
i am getting error “no secondary found in replicaset or invalid replica set name” while connecting from mongo compass.

how to solve this.

Regards,
Yeshwant

@Yeshwant_Kumar_08131

What connection information are you giving to Compass? You don’t provide enough details here for me to give you much help. Notice that you must give Compass both the correct Hostname and the Replica Set Name.

Or of course you can follow the instructions and use the shell as suggested. :wink: