bradtraversy/storybooks

Error connecting to MongoDB

Jake4845 opened this issue · 0 comments

When I try to connect to the database (14:00 in Brad's video), after the server is up and running ("Server running in development mode on port 3000") there is a pause and then it times out giving me the following error message:

Error: querySrv ETIMEOUT _mongodb._tcp.cluster0.bnqzq.mongodb.net
at QueryReqWrap.onresolve [as oncomplete] (dns.js:203:19) {
errno: undefined,
code: 'ETIMEOUT',
syscall: 'querySrv',
hostname: '_mongodb._tcp.cluster0.bnqzq.mongodb.net'
}
[nodemon] app crashed - waiting for file changes before starting...

I've made sure that my IP is whitelisted but this has not helped.