com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host <host_name>, port <port> has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

atlassian.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Connection Timeout with MySQL or SQL Server Database - Atlassian Documentation

    atlassian.com | 8 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host <host_name>, port <port> has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
  2. 0

    Connect to sql server from java with jdbc(windows authentication mode)

    Stack Overflow | 4 years ago | Blocked
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

    Root Cause Analysis

    1. com.microsoft.sqlserver.jdbc.SQLServerException

      The TCP/IP connection to the host <host_name>, port <port> has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

      at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError()
    2. com.microsoft.sqlserver
      SQLServerException.ConvertConnectExceptionToSQLServerException
      1. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)[sqljdbc-4.0.2206.jar:na]
      2. com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)[sqljdbc-4.0.2206.jar:na]
      2 frames