Need help with mongodb

There is this error when connecting to db :- Error while connecting to db querySrv ECONNREFUSED _mongodb._tcp.cluster0.ygopfxf.mongodb.net
No description
1 Reply
dys 🐙
dys 🐙14mo ago
The format of URLs in general is protocol://username:password@hostname/path?query. You seem to be missing the @ between your authentication info & the hostname. So, maybe mongodb+srv://ramol:[email protected]? Did you copy the URL from somewhere?
Want results from more Discord servers?
Add your server