Specify sqlhosts file lookup

The SQLH_LOC keyword also applies to sqlhosts file lookups when you are using the proxy. If the URL includes SQLH_LOC =PROXY, the driver reads the sqlhosts file on the server. If SQLH_LOC =PROXY is not specified, the driver reads the file on the client.

This example obtains the information from an sqlhosts file on the server:
jdbc:informix-sqli:informixserver=samsara;SQLH_TYPE=FILE; 
   SQLH_FILE=/work/9.x/etc/sqlhosts;SQLH_LOC=PROXY;
   PROXY=webserver:1462