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 的连接时发生与网络相关或特定于实例的错误


基础教程推荐
- oracle区分大小写的原因? 2021-01-01
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
- 在多列上分布任意行 2021-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01