Reputation: 2140
I get the following error when I try to connect Toad for DB2:
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: "10.99.13.5". Communication function detecting the error: "recv". Protocol specific error code(s): "", "", "0". SQLSTATE=08001
Attached is my connection properties. Any help connecting would be great.
Upvotes: 1
Views: 5995
Reputation: 7693
This is tipical problem when the client cannot reach the database. There could be different reasons:
You can do a telnet from the Windows (client) machine to the server via telnet
telnet databaseServerIP portNumber
Even, if the db2 server is in the same machine, you can do a localhost telnet in order to see that the instance can receive TCP connections
telnet localhost 50000
Once you can do that successfully, you can connect to the database.
Upvotes: 2