Reputation: 1401
I have an Azure App Service that needs to communicate first to a Google Cloud SQL database. I already "whitelisted" an IP address (obtained from Custom Domains) of that App Service in Google Cloud SQL db instance. However, the Azure App Service always throws a db connection timeout
.
I'm assuming that I whitelisted the wrong IP address. I checked the Properties of the Azure App Service and saw some outbound IP addresses. Should I whitelist the outbound IP address too or is their a more correct way to whitelist the Azure App SErvice to be able to communicate with Google Cloud SQL?
Thanks for the help!
UPDATE
Solved by whitelisting all outbound IP addresses of the Azure App Service.
Upvotes: 1
Views: 1758
Reputation: 1401
This was solved by whitelisting all Outbound IPs of the Azure App Service. In order determine the Outbound IP's of your App Service:
Outbound IP addresses
text field and you will see a couple of IP addresses there.Next,
Outbound IP addresses
from Azure App Service in the Authorized networks
of your GCP Cloud SQL.Hope this will be a big help to others.
Upvotes: 2