com.microsoft.sqlserver.jdbc.SQLServerException: 通过端口 1433 连接到主机 192.168.165.29 的 TCP/IP 连接失败。错误:“连接超时: 无其他信息。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。 com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java.191) com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java.242) com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java.2369) com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java.551) com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java.1963) com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java.1628) com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java.1459) com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java.773) com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java.1168) com.fr.third.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java.1666) com.fr.third.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java.1732) com.fr.third.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java.2907) |