Here is pg_hba.conf settings
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all
trust
host all all 127.0.0.1
255.255.255.255 trust
Here is postgresql.conf
#
# Connection Parameters
#
tcpip_socket = true
#ssl = false
The error messages are OO messages, so not sure if they acurate. PostgreSQL
is sitting on Cygwin (on MS 98) so not sure if there is something about the
way that works.
Scott
----- Original Message -----
From: "Richard Welty" <rwelty@averillpark.net>
To: <pgsql-jdbc@postgresql.org>
Sent: Tuesday, January 21, 2003 7:50 PM
Subject: Re: Fw: [JDBC] Open Office
> On Tue, 21 Jan 2003 18:51:52 -0000 Scott Taylor
<scott.taylor@4i-dotcom.com> wrote:
>
> > OK tried these, but seem to be more MySQL related. Is there not a
> > PostgreSQL/OO guru on this list?
>
> i hadn't answered because i figured that someone who actually knew what
> they were doing might.
>
> > > > 1. No connection could be established for the URL
> > > > jdbc:postgresql://localhost:5432/recruitment.
>
> > > > 2. Connection refused. Check that the hostname and port are correct
> > and
> > > > that
> > > > the postmaster is accepting TCP/IP connections.
>
> > > > 3. Please check the current settings, e.g. user name and password.
>
> start with the settings in /var/lib/pgsql/data/pg_hba.conf
>
> postgresql defaults to not answering tcp/ip connnections; you need to turn
> this up as part of your configuration process.
>
> richard
> --
> Richard Welty
rwelty@averillpark.net
> Averill Park Networking
518-573-7592
> Unix, Linux, IP Network Engineering, Security
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html