'MongoDB Error ( ETIMEOUT _mongodb._tcp.cluster0.ye1nx.mongodb.net )
I'm getting this error when I run my app.js file
Error: querySrv ETIMEOUT _mongodb._tcp.cluster0.ye1nx.mongodb.net
I am trying to console the database list but it's giving this error
Solution 1:[1]
I was getting this exact same error. I managed to establish a connection with my cluster by simply changing the connect to cluster "version" to 2.2.12 in the connect window -> connect your application -> version. Of course you have to change the connection URL in your app to the new one that is going to give you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |