Javascript, NodeJS express and MongoDB

Hellow Fellow campers,
Is there anyone who faced this issue trying to connect to MongoDB? all my connections and codes are fine.


Does Your IP has access to the atlas? Remember that You must explicitly tell MongoDB Atlas to allow remote connections (either by allowing all IPs or just Your server). Also, is your MongoDB URL right?

Yes my Mongo DB URL is correct. i confirmed many times. the same same project i have been working like 4 hours ago and it was working well

Hmmm, are You able to connect using MongoDB Compass?