当我尝试访问托管在Azure上的网站时,出现以下错误。 即时通讯使用数据库的connectionString从数据库管理面板上Azure的直接复制,但coudlnt连接成功无法连接到Azure SQL服务器,错误:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
任何想法如何真正解决呢?感谢
您是否在基于IaaS的SQL服务器或托管的SQL Azure数据库上使用此功能?如果是前者,确保你已经打开了适当的端口,如果后者是你设置了基于IP的访问规则? – BrentDaCodeMonkey