Hi @111542 @Pavan_Naik1 (and anyone else who is having trouble connecting to their cluster),
There are many different causes for issues connecting to clusters. For the community to best help you, please start start new discussions topics with more details of your environment including:
- deployment type (standalone, replica set, or sharded cluster)
- if the deployment is on-premises or a managed service (eg MongoDB Atlas)
- the specific client/driver version you are trying to connect with and any error messages returned
- steps you have tried to resolve your connection issues
A good starting point is the documentation guide to Set Up Atlas Connectivity.
You may also find this previous forum discussion helpful: Error: couldn't connect to server 127.0.0.1:27017 - #16 by Stennie.
Thanks,
Stennie