Azure Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server(Azure 错误:建立与 SQL Server 的连接时发生与网络相关或特定于实例的错误)
问题描述
我有 SQL 服务器 &托管在 Microsoft Azure 平台上的 Web 应用程序.当我从本地网络运行 Web 应用程序(并尝试连接 azure sql 服务器)时,我经常遇到错误,但是我从来没有遇到过 azure Web 应用程序服务的问题(即在 azure 上托管我的 Web 应用程序之后)
I have SQL server & web app hosted over Microsoft Azure platform. I am constantly getting above error when ever i run web application (and try to connect azure sql server) from my local network, however i never face issue on azure web app service (i.e. After hosting my web app on azure)
我知道这个错误很熟悉.但在这种情况下,这似乎很奇怪.我已经检查了以下内容,
I know that this error is very familiar. But in this case it seems weird. I have already checked below things,
- SQL 连接管理得当.(我正在使用 ADO.Net)
- 所有网关 IP 都针对 azure sql 列入白名单.
- 没有防火墙阻止我的私人网络.
任何帮助将不胜感激.
推荐答案
你需要将你的 IP 地址设置为白色,SQL azure 需要知道你的应用程序 IP
you need to white your IP address for same, SQL azure will need to know the your Application IP
这篇关于Azure 错误:建立与 SQL Server 的连接时发生与网络相关或特定于实例的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Azure 错误:建立与 SQL Server 的连接时发生与网络相关或特定于实例的错误


基础教程推荐
- 带有WHERE子句的LAG()函数 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 带更新的 sqlite CTE 2022-01-01