I am using informix cli librraies to connect to a remote database. When I establish connections from the main thread it is fine. When I try to open a connection from a separate thread (after openning an initial set of connections from the main asw ell) it blocks and finally returns with the following error
[Informix][Informix ODBC Driver][Informix]Attempt to connect to database server (xyz2_net) failed.
The config are
localhost
----------
sqlhosts
xyz1 onipcshm hp1 sqlexec
xyz1_net onsoctcp hp1 sqlexec_net
xyz2_net onsoctcp 10.12.18.1 sqlexec_net
remote host (10.12.18.1)
----------------------------
sqlhosts
xyz2 onipcshm hp2 sqlexec
xyz2_net onsoctcp hp2 sqlexec_net
sqlexec_net runs on 9002 on both machines
Here is the log (online.log) from xyz2_net
17:18:16 listener-thread: err = -25573: oserr = 233: errstr = : Network driver cannot accept a connection on the port.
System error = 233.
Any help shall be greatly appreciated