Я могу подключиться к своему экземпляру SQL Server через следующее соединение JDBC на компьютере Windows :
jdbc:sqlserver://<my_server>;databaseName=<my_db>;integratedSecurity=true;authenticationScheme=JavaKerberos;username=<my_user>;password=<my_pwd>
Однако, когда такая же строка подключения вызывается на Linux машине, я получаю следующий стек ошибок:
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host <my_server>, port 1433 has failed. Error: "Connection timed out: no further information.. 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.".
Я пытался изменить строку JDBC для удаления integratedSecurity=true
, в соответствии с этим форумом , но я сталкиваюсь с тем же сообщением об ошибке.
Связано ли сообщение об ошибке с аутентификацией или сетью?
Я могу подключиться к машине с Linux и успешно пропинговать <my_server>