How to connect to Azure Cosmos DB for MongoDB vCore via a private endpoint from app service?

Phillip Hu 0 Reputation points
2024-05-17T03:22:11.1066667+00:00

Hi everyone,

I'm having trouble connecting to the mongodb from one of my web app. It used to work perfectly until a private endpoint was configured. I tried to replace the domain name in the connection string with the FQDN. I got this "pymongo.errors.ServerSelectionTimeoutError" error message.

Anyone can help please?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,070 questions
{count} votes