lihaibh / ditto

NPM library that helps managing MongoDB snapshots easily and efficiently
https://www.npmjs.com/package/mongodb-snapshot
MIT License
50 stars 6 forks source link

MongoServerSelectionError: getaddrinfo ENOTFOUND #32

Closed yemredogru closed 2 years ago

yemredogru commented 2 years ago

uri: mongodb://${process.env.DB_USER}:${process.env.DB_PASS}@cluster0.5i5dp.mongodb.net:27017, dbname: 'myDB',

MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0.5i5dp.mongodb.net at Timeout._onTimeout (E:\ecommerce\node_modules\mongodb-snapshot\node_modules\mongodb\lib\core\sdam\topology.js:438:30)

I don't know why I'm getting this error, can you help?

lihaibh commented 2 years ago

ENOTFOUND means that the address cluster0.5i5dp.mongodb.net could not be resolved, you might dont have access to this dns

lihaibh commented 2 years ago

@yemredogru can i close?