Unanswered: Attempt to connect to database server () failed when called from thread
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
xyz1 onipcshm hp1 sqlexec
xyz1_net onsoctcp hp1 sqlexec_net
xyz2_net onsoctcp 10.12.18.1 sqlexec_net