2016-10-31 6 views
1

私はsqljdbcドライバV4を通じて可用性グループに接続しようとしているが、私は、接続文字列がJDBC可用性グループの接続エラー

jdbc:sqlserver://...;multiSubnetFailover=true;databaseName=...;responseBuffering=full;selectMethod=direct;user=...;password=... 

何でし任意のアイデアです

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the 
host ..., port 1433 has failed. Error: ".... 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.". 

エラーが出ます間違う?私はマシン名を直接使用するとうまく接続し、1433ポートが開いているので、ポートやサーバーの問題ではありません。

答えて

0

この問題は、これを解決した完全修飾ドメイン名(FQDN)を使用しているため、サーバー名が原因でした。