Mongoose Probelm - pls help ;-;
why do i keep getting that error, trying to fix from many hours now
![No description](https://cdn.answeroverflow.com/1255210919479349309/image.png)
4 Replies
i am using the wrangler cloudflare thing, it did work on normal nodemon, but im trying to put it in production now
You cannot connect to MongoDB from Cloudflare Workers except via MongoDB Atlas Data API (their hosted service).
and iirc atlas uses a self-signed certificate, which won't work either :/
Yeah sorry I should have been more clear - specifically the Data API on Atlas.
Directly connecting to the DB won't work.