Hello All,
In one of my projects, we are trying to use Azure and MongoDB. Now I have managed to establish connectivity from Azure to Mongo over Endpoint.
But then what I realized was the access still not work. Then I white-listed the Public IP of the VM and found the code started working i.e. DB access worked. But this means I couldn’t leverage the Endpoint I created.
Seems I am missing something. Appriciate if you can help me.
Note:- I am using Terraform for all this activity. So any piece of code which does this would be helpful.
Please let me know if you need further information from my end.
Hi @Amit_Vengsarkar,
Welcome to the community 
But then what I realized was the access still not work. Then I white-listed the Public IP of the VM and found the code started working i.e. DB access worked. But this means I couldn’t leverage the Endpoint I created.
Did you try connecting using the Private Endpoint connection or the standard connection?
Please also provide the following information as well if possible:
- Connectivity method (
mongo
, driver, MongoDB Compass, etc) as well as associated version.
- The connection string you used to connect (Please redact any credentials before sending it here).
- Any error messages when attempting to connect via the private endpoint
Kind Regards,
Jason