Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jing Liu asked where to find the Informix server port number for a JDBC connection. Art S. Kagel said to look up the server name in the sqlhosts file in $INFORMIXDIR/etc and take its service name, then find the port in /etc/services. He first said third column, then corrected it: the service name is the fourth column.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Jing Liu — — source: Informix-list mailing list archive (1991-1998)
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
↪ replying to Jing Liu
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
Jing Liu wrote:
>
> 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.
Start on the server in $INFORMIXDIR/etc in the file sqlhosts. Look for
the servername entry you are using on the client. The third column is
the servicename which you can then look up in /etc/services to get the
actual port number.
Art S. Kagel
↪ replying to Jing Liu
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
Jing Liu wrote:
>
> 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.
Start on the server in $INFORMIXDIR/etc in the file sqlhosts. Look for
the servername entry you are using on the client. The fourth column is
the servicename which you can then look up in /etc/services to get the
actual port number.
Art S. Kagel
↪ replying to Art S. Kagel
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
OOps thought I caught that one before it got away. The service is the
fourth column not the third.
Art S. Kagel
"Art S. Kagel" wrote:
>
> Jing Liu wrote:
> >
> > 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.
>
> Start on the server in $INFORMIXDIR/etc in the file sqlhosts. Look for
> the servername entry you are using on the client. The third column is
> the servicename which you can then look up in /etc/services to get the
> actual port number.
>
> Art S. Kagel
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.