Hi,
I have an Azure App Service that connects to my MongoDB Atlas cluster.
I tested the Docker image locally, and it works fine.
Initially, my app was hosted in Mexico Central, while my MongoDB cluster is in Ireland. To reduce latency and potential connectivity issues, I deployed a new instance of my app in North Europe, but I still encounter the same “MongoServerSelectionError: connection timed out” error.
Could you please help me troubleshoot and resolve this issue?
Thanks in advance!