I am getting error “Could not connect to MongoDB on the provided host and port” while try connecting to Mongo Compass. I have tested the firewall restriction and it’s working fine. However, I am not able to access Mongo Compass.
Please suggest. Thank you
Replica Set Name: Cluster0-shard-0
Read Preference: Primary Preferred