Please help me, where I’m going wrong.
Hi @Manjunath_40298,
Your instincts are correct, IP address is not a problem here because I am able to connect to your cluster.
Please use the connection string mentioned below to connect to your Sandbox cluster. It must be the quotes in the connection string that is resulting in error.
mongo "mongodb+srv://sandbox-ylmbc.mongodb.net/test" -u m001-student -p m001-mongodb-basics
If the issue still persists, please feel free to get back to us.
Happy Learning
Thanks,
Shubham Ranjan
Curriculum Support Engineer
the issue still persists, PFA.
I am able to connect to your cluster without any issues
Try without quotes
Make sure no invalid characters/empty spaces while cut & paste of command
Hi @Manjunath_40298,
Are you still not able to connect to your cluster ?
One other user is facing the same issue, but he is able to connect to his cluster from Compass. Can you please check if you are also able to establish connection from Compass but not from mongo shell, so that I can go ahead and investigate this.
Thanks,
Shubham Ranjan
Curriculum Support Engineer
It was a firewall issue