0

when we have a web apps, should we set our web apps IP in the Azure Database Firewall rule ? because i have some problem with the connection between my Azure web apps and my Azure database, and i am curious is it because the database firewall rule .

Thanks .

Irfan Dary
  • 33
  • 7

2 Answers2

2

No, just set the checkbox in the firewall that allows access to Azure services.

juunas
  • 54,244
  • 13
  • 113
  • 149
0

To allow Azure applications to connect to Azure SQL server, Azure connections need to be enabled, which will allow Azure-hosted services through the firewall. Besides, you could allow Outbound IP Addresses of the Azure Web App in SQL Azure using a specific firewall rule. For more information, please refer to this article.

Fei Han
  • 26,415
  • 1
  • 30
  • 41
  • there are 4 outbound IP in azure, should i add 4 of them to firewall rule ? – Irfan Dary Dec 14 '16 at 07:32
  • You should post the main contents in a quote in here, the link could be inactive in the future. – juunas Dec 14 '16 at 08:33
  • ``there are 4 outbound IP in azure, should i add 4 of them to firewall rule ?`` yes, 4 outbound IPs should be added to firewall rule. – Fei Han Dec 19 '16 at 09:17