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

> Bug reference:      1211
> Email address:      [EMAIL PROTECTED]
> 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


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to