2016-10-24 7 views
0

によってDB2へ:接続は、私は窓にヒキガエルによってDB2に7</p> <p>を接続するが、エラーを返すようにしようとヒキガエル

ERROR [08001] [IBM] SQL30081N A communication error has been detected. 

Communication protocol being used: "TCP/IP". Communication API being used: 
"SOCKETS". Location where the error was detected: "192.168.1.22". 
Communication function detecting the error: "selectForConnectTimeout". 
Protocol specific error code(s): "0", "*", "*". SQLSTATE=08001 

サービサーシステム:CentOSの7

DB2データベース:V9.7

私はすでにsystemctl sto firewalld.serviceを実行しています(ファイアウォールを停止します)。db2 "connect to testbase user admin using password"がCentOSで成功しました。

私は窓7でtelnet 192.168.1.22 50000はセントOS 7に

+1

[DB2データベースへの接続]の可能な複製(http://stackoverflow.com/questions/14987937/connecting-to-db2-database) –

答えて

0

DB2サーバーを失敗してみてください。 場合は、サーバーの動作上のTCP/IP接続を意味した作品を、「DB2する〜ユーザー〜使用して接続します」。

192.168.1.22/50000がDB2サーバーのIP /ポートであると仮定すると、 'telnet 192.168.1.22 50000' が失敗すると、それはDB2クライアントとサーバーの間にファイアウォールがあることです。 「ping 192.168.1.2」だけが動作し、ポート50000に接続できない場合、何かが途中のポート50000を防ぎます。

関連する問題