Getting ECONNREFUSED and ReplicaSetNoPrimary errors

Hey @Jason_Tran
Thank you so much for your answer!

I finally fixed the problem by authorizing the server to connect with the cluster, that’s pretty much it lol.
For those who face the same issue, and have access to the cPanel, just go to “SSH authorization”, and permit the cluster’s IP addresses that you find in your error message. And that’s pretty much it.

2 Likes