有时,当我通过 Power BI 或 SSMS 连接到 Azure SQL Server 时,会收到以下错误:
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.) (Microsoft SQL Server, Error: 121)
关于此主题有很多问题,但很少有人针对 Azure SQL Server 解决此问题。我的 IP 地址已添加到防火墙(有时可以工作!)我尝试增加连接超时。我尝试按照 this 的答案查看“netsh WinSock Show Catalog”信息。问题,但看起来没有任何格式错误。
有没有人看到此错误的任何其他原因?它几天前出现,消失了几天,现在又回来了,但在此期间我没有做任何改变。
最佳答案
问题最终是我的计算机与公司的 VPN 断开了连接。
关于azure-sql-database - Azure SQL Server : Error occurred during the pre-login handshake,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48978575/