gpt4 book ai didi

sql-server - 从 SQL 管理工作室连接到 Azure DB 失败 MSSQLSERVER_10060

转载 作者:行者123 更新时间:2023-12-03 09:47:05 26 4
gpt4 key购买 nike

我尝试连接到使用 SQL Management Studio 在 Azure 上创建的 SQL Server,但收到以下错误。

enter image description here

Error message: An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)

我已在 SQL Server 防火墙设置中启用客户端 IP。

如果还有其他需要注意的地方,请告诉我。谢谢

最佳答案

要解决此错误,请尝试以下操作之一:

  • 确保您已在计算机上配置防火墙以允许此 SQL Server 实例接受连接。也就是说,如果您尝试从公司网络内部进行连接,则网络防火墙可能不允许通过端口 1433 的出站流量。如果是这样,除非您的 IT 部门打开端口 1433,否则您无法连接到 Azure SQL 数据库服务器。在 Azure 端,您还需要检查 NSG(与 Azure SQL 服务器所在的子网关联)是否允许客户端 IP具体端口1433。
  • 如果启用服务器级防火墙,请在 SQL Server 防火墙设置中添加客户端 IP。
  • Telnet Azure SQL 数据库服务器的当前 IP 和端口以验证网络连接。

关于sql-server - 从 SQL 管理工作室连接到 Azure DB 失败 MSSQLSERVER_10060,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52696656/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com