Can't connect to mongodb.Could not connect to any servers in your MongoDB Atlas cluster

What additional information can I provide?

I also have my IP whitelisted, checked it against the whatismyip, and enabled Allow Access From Anywhere. I still cannot connect.

I have also tried resetting the password, making a new user, making a new project/database/user and none of them can connect, either.

It is strange because it was working yesterday, I installed regex, did an audit for a red vulnerability alert, and shortly thereafter it stopped and I have not been able to connect since.

ETA: I did a stash and the issue does seem to be something that happened when I npm installed a package and did the audit; the file w/strings is in .gitignore but I am able to connect now.

7 Likes