Re: BUG #1211: JDBC connection

From: Kris Jurka <books(at)ejurka(dot)com>
To: Diego <netmaniac(at)libero(dot)it>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1211: JDBC connection
Date: 2004-08-11 20:38:00
Message-ID: Pine.BSO.4.56.0408111535570.23044@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, 11 Aug 2004, PostgreSQL Bugs List wrote:

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

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

> With psql the connection is ok.
>

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

Kris Jurka

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Matthew L Daniel 2004-08-11 21:29:32 8.0.0 beta 1, contrib/dbsize, GetDatabasePath wrong
Previous Message Tom Lane 2004-08-11 20:12:36 Re: 8.0.0beta1: make check fails on solaris8