Unable to connect from Microsoft Azure AppService

17 views
Skip to first unread message

muhamm...@globecar.ca

unread,
Apr 16, 2018, 6:20:34 PM4/16/18
to mongodb-user
hi,

I am unable to connect to mongodb atlas cluster from Microsoft Azure service. i have tried to add Azure App service IP into white list of atlas cluster. however everything works fine if i allow all IPs to atlas cluster (unrestricted access).

how can i actually allow Microsoft Azure AppService to access using its specific IP (and not all IPs)? i am using MongoDB 3.4 C# driver!

Any help would be appreciated!

Thanks,

Muhammad

Kevin Adistambha

unread,
May 24, 2018, 1:22:09 AM5/24/18
to mongodb-user

Hi Muhammad

You might be whitelisting the Azure application’s internal IP instead of its external IP. Could you determine what is your Azure application’s external IP using a service such as https://www.whatismyip.com/ ?

Note that Atlas also support deployment in Azure: see Microsoft Azure section.

Best regards
Kevin

Reply all
Reply to author
Forward
0 new messages