Re: BUG #1211: JDBC connection - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: BUG #1211: JDBC connection
Date
Msg-id Pine.BSO.4.56.0408111535570.23044@leary.csoft.net
Whole thread Raw
In response to BUG #1211: JDBC connection  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
List pgsql-bugs
On Wed, 11 Aug 2004, PostgreSQL Bugs List wrote:

> Bug reference:      1211
> Email address:      netmaniac@libero.it
> PostgreSQL version: 7.5 Dev
> Operating system:   win xp pro
> Description:        JDBC connection
>=20
> I'm unable to connect to my 8.0 beta1 from JDBC, even remote or local=20
> connection.=20
> I'have try to edit postgresql.conf, setting listen_address=3D'*' and=20
> pg_hba.conf but the error is always :=20
> org.postgresql.util.PSQLException: Con
> nessione rifiutata. Controllare che il nome dell'host e la porta siano=20
> corretti, e che il server (po=20
> stmaster) =C3=9E in esecuzione con l'opzione -i, che abilita le connessio=
ni=20
> attraverso la rete TCP/IP.=20

Did you restart postgresql after making the change to postgresql.conf?

> With psql the connection is ok.
>=20

Does it work when using the -h argument to psql?  By default psql does not=
=20
use tcpip to connect to the server.

Kris Jurka

pgsql-bugs by date:

Previous
From: ntufar
Date:
Subject: Turkish downcasting in PL/pgSQL
Next
From: Kris Jurka
Date:
Subject: Re: Notifications in JDBC driver not correct for V3 protocol