MongoServerSelectionError: read ECONNRESET. It looks like this is a MongoDB Atlas cluster. Please ensure that your Network Access List allows connections from your IP.
Hi @Nithin_Reddy_Nagapur and welcome to MongoDB community forums!!
Could you confirm if you have performed the needed steps to whitelist the IPs in your Atlas cluster.
You can follow the procedure to Add Your Connection IP Address to Your IP Access List and let us know if the issue still persists.
If after performing the above steps you are sill seeing the similar error, could you help us with the following information:
- The Atlas Tier you are on
- Steps which you have followed which made you land on the above error message.
- Are you using a VPN servers?
- The client (failing to connect) environment details (e.g. Driver, Driver version, MongoDB Compass, Operating system details).
- The results of the network tests as mentioned in the following post (but for your own cluster) from the client attempting to connect.
Regards
Aasawari
I’m new to this MongoDB. I am trying to create the Atlas cluster repeatedly. But the error is coming. So, please clear this issue.
In general it is preferable to start a new discussion to keep the details of different environments/questions separate and improve visibility of new discussions. That will also allow you to mark your topic as “Solved” when you resolve any outstanding questions.
Mentioning the url of an existing discussion on the forum will automatically create links between related discussions for other users to follow.
Please have a look at How to write a good post/question for some ideas on best practices.
I also recommend reading Getting Started with the MongoDB Community: README.1ST for some tips to help improve your community outcomes.
Regards,
Aasawari
@Aasawari I am trying to connect the atlas cluster from my local machine using mongosh; I already whitelisted my IP a day back yet when I tried to fetch data from same connected session it first gave me similar error and when I disconnected and trying to re-connect it gave same error which says ‘It looks like this is a MongoDB Atlas cluster. Please ensure that your Network Access List allows connections from your IP.’. Must I everytime do this IP whitelisting process ?
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
FindAndModify returning non updated value | 4 | 1.0k | May 2024 |
Would it be possible for the MongoDB Node.js driver to give a typescript warning if filtering on field that does not exists? | 4 | 586 | May 2024 |
Encryption related exception: Command update failed: A non-static (JSONPointer) keyId is not supported | 0 | 22 | Sep 2024 |
Where is Linked Data Sources in the UI | 1 | 61 | Feb 5 |
Low perf on regex search even on M50 instance | 1 | 34 | Nov 2024 |