sql-server - Visual Studio Azure SQL Server : no connection could be made because the target machine actively refused it

标签 sql-server visual-studio azure azure-sql-database

我正在尝试连接到 Azure 上托管的 SQL Server 数据库,我使用服务器资源管理器选择我的 Azure 帐户,然后选择 SQL Server;我右键单击并选择“在 SQL Server 对象资源管理器中打开”,然后系统提示我输入密码。

我无法跳过此步骤,因为自从创建服务器以来我一直收到此错误(请参阅屏幕截图)。我已将 IP 地址添加到 SQL Server 的防火墙。

我什至尝试在防火墙关闭的情况下连接到它,但遇到了同样的错误。

enter image description here

最佳答案

我设法解决了这个问题,事实证明我大学的网络(eduroam)是问题所在。我不明白他们如何或为何想要阻止 Azure;但使用代理或移动热点可以立即连接我,没有任何错误。
感谢大家的努力帮助。

关于sql-server - Visual Studio Azure SQL Server : no connection could be made because the target machine actively refused it,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50223679/

相关文章:

c# - 在 C# 与 SSMS 中使用 SqlDataReader.Read() 进行缓慢的 SQL 数据检索

azure - SharePoint 应用程序的应用程序见解

sql-server - 提取上周五日期

c# - VS Express和专业有冲突吗?

visual-studio - 要访问 VisualStudio.com 帐户,请使用上面的选择器登录

visual-studio - 将 Visual Studio 与 Git 结合使用时要忽略的文件

azure - Azure 虚拟机公共(public) IP 地址是静态的吗?

azure - 使用 Azure 通知中心进行徽章管理

c# - 使用 SQL 从多个表中获取主键数据

c# - Prism 和 Entity Framework