Re: [GENERAL] postgresql jdbc connect via hostname instead of just ip

2005-12-04 Thread Jonathan Schreiter
Thanks for the help - it was a dns resolving issue after all as you described. Jonathan --- Douglas McNaught <[EMAIL PROTECTED]> wrote: > Jonathan Schreiter <[EMAIL PROTECTED]> > writes: > > > The only way I can connect to the database via > JDBC > > seems to be by IP address (both locally an

Re: [GENERAL] postgresql jdbc connect via hostname instead of just ip

2005-12-04 Thread Douglas McNaught
Jonathan Schreiter <[EMAIL PROTECTED]> writes: > The only way I can connect to the database via JDBC > seems to be by IP address (both locally and on another > system allowed by the pg_hba.conf file). > > jdbc:postgresql://theipaddressofdatabaseserver/mydatabase > > I'd like to be able to connect

[GENERAL] postgresql jdbc connect via hostname instead of just ip

2005-12-04 Thread Jonathan Schreiter
Hi all, I'm a bit new to postgresql. I've been able to configure the database and the jdbc interface successfully. I interface via PAM (krb5) and that works OK in the pg_hba.conf file. I've added the -i option to the postmaster startup script service (using binary RPMs on Fedora Core 4) for tcp c