Closed yemredogru closed 2 years ago
uri: mongodb://${process.env.DB_USER}:${process.env.DB_PASS}@cluster0.5i5dp.mongodb.net:27017, dbname: 'myDB',
mongodb://${process.env.DB_USER}:${process.env.DB_PASS}@cluster0.5i5dp.mongodb.net:27017
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?
ENOTFOUND means that the address cluster0.5i5dp.mongodb.net could not be resolved, you might dont have access to this dns
ENOTFOUND
cluster0.5i5dp.mongodb.net
@yemredogru can i close?
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?