Identify the Informix database server hostname or IP address
Unix Database Servers
Log in to your Unix database server as the Informix user.
Ensure the Informix environment is set correctly.
Execute this command:
echo $INFORMIXSERVER
Execute this command:
cat $INFORMIXDIR/etc/sqlhosts
Look for the line that begins with the $INFORMIXSERVER value, and note the value that appears in the third column.
This is the hostname that your Informix server was initialized with at startup time.
Windows Database Servers
Login to your Windows database server.
Open an MS-DOS command prompt.
Run this command:
regedit
Drill down to
HKEY_LOCAL_MACHINE\
SOFTWARE\
INFORMIX\
SQLHOSTS
Look for the value passed to HOST.
This is the hostname that your Informix server was initialized with at startup time.