[英]Google Search Appliance: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host “xyz” port 1433 has failed.
I'm deploying google search appliance connector for database(SQL). 我正在为数据库(SQL)部署谷歌搜索设备连接器。 When I run my "run.bat", I got an error in my logs which says:
当我运行“run.bat”时,我的日志中出现错误,说:
java.io.IOException: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host "xyz", port 1433 has failed. Error: "null. 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.google.enterprise.adaptor.database.DatabaseAdaptor.getDocIds(DatabaseAdaptor.java:235)
at com.google.enterprise.adaptor.DocIdSender.pushFullDocIdsFromAdaptor(DocIdSender.java:69)
at com.google.enterprise.adaptor.GsaCommunicationHandler$PushRunnable.run(GsaCommunicationHandler.java:856)
at com.google.enterprise.adaptor.OneAtATimeRunnable.run(OneAtATimeRunnable.java:69)
at com.google.enterprise.adaptor.ShutdownWaiter$NotificationRunnable.run(ShutdownWaiter.java:183)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
I have tried the below solutions: 我尝试了以下解决方案:
I don't have my dynamic port set. 我没有动态端口设置。
Is there any other way to solve this error. 有没有其他方法来解决此错误。 Any help would be appreciated.
任何帮助,将不胜感激。
Make sure that all TCP Dynamic ports are set to 0 and TCP Ports is blank on all except IPALL which your current setting is correct. 确保所有TCP动态端口都设置为0,并且除了当前设置正确的IPALL以外的所有TCP端口都为空。
It looks like a communication problem between your application server and the SQL Server. 它看起来像是应用程序服务器和SQL Server之间的通信问题。 I would suggest checking the port using TELNET in a CMD window with either the IP Address of the SQL server or domain name.
我建议在CMD窗口中使用TELNET检查端口,使用SQL服务器的IP地址或域名。
TELNET pc.name.com 1433
or 要么
TELNET 172.0.0.1 1433
If you get a blank screen after this you were successful and the port is open. 如果在此之后出现空白屏幕,则表示您已成功并且端口已打开。 If not, there is a firewall or network setting blocking the connection.
如果没有,则存在阻止连接的防火墙或网络设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.