How to determine port number, service name and server name in Informix
Determine Server Name
- Login to Informix Server
- Type echo $INFORMIXSERVER. Enter.
- From here you can see the your server name.
Determine Service Name
- Login to Informix server
- Type cd $INFORMIXDIR/etc
- Type cat sqlhosts. Check the line that contain your server name.
- e.g ol_myifxdb onsoctcp 192.168.2.200 service_myifxdb
- The line will show you the server name, protocol, server address and service name.
Determine Port Name
- Login to Informix Server
- Type grep <service name> /etc/services
- e.g grep service_myifxdb /etc/services
- The line will show you the service name and port number
- e.g service_myifxdb 60200/tcp
No comments:
Post a Comment