sql-server - 连接超时已过期。尝试使用登录前握手确认时超时时间已过

标签 sql-server visual-studio sql-server-2008 connection

我将 Visual Studio 2015 与 sql server 2012 一起使用,
我尝试使用 Windows 身份验证连接到服务器,但出现如下错误消息:

connection timeout expired. the timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. this could be because the pre login handshake failed or the server unable to respond back in time. the duration spent while attempting to connect to this server was inistilization=13482 handshake=14519.



我已经尝试过:
  • 检查登录详细信息和服务器名称
  • 使用相同的详细信息登录 SQL Server Management Studio
  • 关闭代理。
  • 关闭防火墙。
  • 检查是否启用了配置管理器中的所有 TCP\IP 配置。
  • 检查所有设置为端口 1433

  • 有没有我没有检查的其他解决方案?请告诉我...

    最佳答案

    我已经想通了,
    显然,我们系统上的子网太多了
    我们使用防火墙上的规则将我的 IP 与具有特定端口 (1433) 的服务器 IP 直接连接。现在一切正常。

    谢谢大家的帮助。

    关于sql-server - 连接超时已过期。尝试使用登录前握手确认时超时时间已过,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38435445/

    相关文章:

    sql-server - 具有空列的数据透视表

    c# - SQL Server 存储过程结果返回

    c# - 将扩展方法放在一个文件中还是多个文件中?

    Asp.net默认主题css菜单问题

    sql - 获取表中不存在的值?

    sql - 在 SQL 中为表行设置限制

    sql - 使用 SQL 来转换和组合字符串

    sql-server - Entity Framework 从 SQL Server View 返回不正确的数据

    c++ - Visual Studio 9 : Display Linker Search Paths

    sql-server - SQL Server-如何将变量和查询结果写入文本文件?