iamshaunjp/node-express-jwt-auth

Mongo DB doesn't connect. I get the error Error: querySrv ENOTFOUND _mongodb._tcp.cluster0.del96.mongodb.net

danieloseni opened this issue · 1 comments

MongoDB connection fails with error:

Error: querySrv ENOTFOUND _mongodb._tcp.cluster0.del96.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (dns.js:206:19) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster0.del96.mongodb.net'
}

In lesson 1

Already found the reason