Am unable to connect to atlas cluster through mongo shell or compass from my local machine.
Steps i did
Add my current machine IP in ‘IP Access list’ settings in ‘Atlas Network Access’.
Connect through mongo shell :
mongo “mongodb+srv://gettingstarted.63ixx.mongodb.net/sample_airbnb” --username kunal
Error ‘You have failed to connect to a MongoDB Atlas cluster. Please ensure that your IP whitelist allows connections from your network.’
Turned off my firewall in my local machine.
Tried again , but failed to connect with same error message as above.
No idea why the connection is getting refused again and again . Can someone point where i am doing wrong.