Can't connect to cluster using the connection string in VS code extension

The connection string on the Chapter 0 - lec 2, is not allowing me to connect to the cluster using the vs code extension. It asks for a srv connection string.
I tried without the codes and removing the flags at the end. Also entered the username and password manually.
If any of you have managed to connect, Please help me out.

String: mongo “mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

The SRV connection string for the shared M121 cluster is:

mongodb+srv://m121:aggregations@cluster0-jxeqq.mongodb.net/aggregations
2 Likes