While trying to connect to a remote DB2 database I am getting following exception
SQL30081N A communication error has been detected.
Communication protocol being used 'TCP/IP'. Communication API being used 'SOCKETS'. Location where error was detected "192.168.1.200'. Communication function detecting the error 'SelectForConnectTimeout'. Protocol specific error code '0','',''. SQLSTATE=08001
i am using following connection string
let conn= await ibmdb.open("Driver={IBM DB2 ODBC DRIVER - DB2V11};DATABASE=DBInstance;UID=username;PWD=password;HOSTNAME=hostname;port=446;");
result = await conn.query(sql_Query);
port=446
. – data_henrik