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

1 Reply
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:bahiks@cluster0.ygopfxf.mongodb.net?
Did you copy the URL from somewhere?