Can't connect to Mongo DB url


I have created a free mongo dB cluster a long time ago. I have no longer access to the admin dashboard but I had the connection string. Recently I try to connect the DB and I got this error.

Error: querySrv ENOTFOUND _mongodb._tcp.cluster0-*****

It seems like the URL is no longer available. Also, I have noticed the URL format for new clusters is different from this old one. Any idea to solve this issue.


Welcome to the MongoDB Community Forums @thorin_123 !

If your free cluster has been inactive for more than 60 days it will eventually be paused (related discussion:
Prevent cluster from being disabled due to inactivity period - #2 by Stennie).

If that is the case, you can resume your cluster by logging into the Atlas UI. If you cannot remember your Atlas password, you could try resetting via the Forgot Password flow on sign in.

If you no longer have access to the original Atlas account, the most straightforward path would be to create a new free cluster.

If you’d like to understand the difference, please share an example of the two url patterns with any personal details redacted or replaced.