无法连接到Azure SQL Server。收到错误“找不到网络路径”

时间:2017-02-14 00:48:07

标签: sql-server azure azure-sql-database

我创建了一个Azure SQL Server。我已设置防火墙,将我的IP地址添加到规则中。我尝试使用SQL Server Managment Studio登录,但每次都出现网络错误。我正在使用创建SQL Server时创建的服务器管理员登录名和密码。是否还需要登录SQL Server的步骤? 注意:我还在PC上为入站连接启用了端口1433.

enter image description here

2 个答案:

答案 0 :(得分:1)

根据错误信息,我们应该检查数据库的服务器名称 我们可以在这里选择数据库,SQL Server Managment Studio会自动输入服务器名称:
enter image description here

另一种方法,我们可以通过azure portal找到信息,然后手动输入服务器名称: enter image description here

答案 1 :(得分:1)

您似乎正在使用命名管道连接到SQL数据库。如果在高级属性选项卡中指定TCP / IP协议会发生什么? enter image description here