Re: port number
Posted in 1999
Topics: Connectivity: ODBC / JDBC / .NET, Networking & sqlhosts Configuration
Jing Look at /etc/services for the service name you declared for your INFORMIXSERVER in $INFORMIXDIR/etc/sqlhosts. The /etc/services file will show the port number in the form servicename nnnn/tcp, where nnnn is the port number. HTH Sujit Jing Liu <jingliu@ics.uci.edu> on 08/18/99 11:12:22 AM Please respond to Jing Liu <jingliu@ics.uci.edu> To: informix-list@iiug.org cc: (bcc: Sujit Pal) Subject: port number hi, where can I find the port number of the Informix dbserver? I tried etc directory but didn't find it. That's required by JDBC connection. Thanks. Jing
Thanks for all the replies to my question. I've found the port number. In fact, I am using Informix on NT. I can't find the file named sqlhosts. I can only find DBServer in $INFORMIXDIR/etc/onconfig. But the file winnt/system32/drivers/etc/services needs service name but not dbserver name. I've found the port number already since I learned the service name from somewhere else, but I still hope to know where to find the service name on NT.