Answer the question
In order to leave comments, you need to log in
Problems with MongoDB Atlas?
Good afternoon!
I'm writing a test application on Node
Constantly when I use MongoDB Atlas there are some problems with connecting to the cluster. I added my ip to the whitelist , and the next day there was another problem with the connection. I went into the panel, and added ip again and it worked. Apparently I have a dynamic ip and it changed after a while.
This went on for some time. Then it stopped working again, I add ip , but still the error
MongoNetworkError: failed to connect to server [cluster0-shard-00-01-ngbam.mongodb.net:27017] on first connect [Error: connect ECONNREFUSED 52.58.188.237:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14) {
name: 'MongoNetworkError',
errorLabels: [Array],
[Symbol(mongoErrorContextSymbol)]: {}
}]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question