Ошибка подключения при подключении SQL SERVER 2012 с PrestoDB

Я пытаюсь получить доступ к SQL SERVER 2012 удаленно с помощью инструмента PrestoDB на виртуальной машине с помощью Ubuntu 16.04.

КОД СОЕДИНЕНИЯ СЕРВЕРА SQL-

connector.name=sqlserver
connection-url=jdbc:sqlserver://[my-ip-here[][]]
connection-user=myusername
connection-password=mypassword

Во время выполнения запроса я получаю:

Query 20180724_110702_00000_uq6s5 failed: The TCP/IP connection to the 
host [my-ip-here[][]], port 1433 has failed. Error: "my-ip-here[][].
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.

Я сделал то же самое для PostgreSQL, и он работает нормально.

0 ответов

Другие вопросы по тегам