For some reason I cant connect to atlas using the connection string but instead of using mongo use mongodump. I have tried all type of string.
So its either I get "positional argument not allowed" when the I just replace mongo with mongodump or I get
"failed: error connecting to db: no reachable servers" when I change the host from "mongo://replset1:27017,replset2:27017,replset3:271017/test?replicaSet=replicaSetName" to --host replicaSetName/replset1:27017,replset:27017,replset3:27017
Anyone know what the problem is here.
Rememeber I can make connections using mongo client.