Currently working on an ASP.NET web application. I would like to deploy to Azure App Service but when running on App Service, the connection to my Azure SQL server can not be found.
When I run on my local machine, the connection to the Azure SQL server works. I can also connect to my Azure SQL server via SQL Management Studio.
On the Azure SQL server I have set up a Firewall rule to allow all IP addresses, and allowed access to Azure services:
I have done considerable searching for solutions to this problem over the past couple days, but I can't find a solution.
I ran into what could be this same problem. Changing the server admin password resolved the issue. I was able to connect running locally, but the published application was unable to log in with the server admin credentials until I reset the server admin password.
在 sql 数据库概述页面上的 azure prortal 上单击设置服务器防火墙允许 Azure 服务和资源访问此服务器应设置为是,其余设置应默认保存更改它适用于我的 asp.net 和 sql db位于 azure env
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.