Connecting to MongoDB Atlas via private endpoint gives me connection timeout

Hi,

Whenever I connect my Server to Serverless MongoDB using the private endpoint , I always get a connection timeout. I follow the instructions thoroughly and repeat the steps multiple times but I always get the same result, How can I resolve this?

Hi there, this should not be happening and it seems like an issue with your configuration/how you’re calling the instance. Does it work fine without a private endpoint?

I’d recommend chatting to our support team as they will be able to help debug this better.

Hi, I’m able to make it work by adding vpc configuration to my aws lambda function.

Thanks for the help!

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.