Re: Applet - JDBC? - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Applet - JDBC?
Date
Msg-id 43A876F7.3010708@opencloud.com
Whole thread Raw
In response to Applet - JDBC?  ("Leonardo Ribeiro Queiros" <leonardo@eee.ufg.br>)
List pgsql-jdbc
Leonardo Ribeiro Queiros wrote:

> Erro: java.net.ConnectException: Connection refused: connect
> Erro: Conexão negada. Verifique se o nome da máquina e a porta estão
> corretos e se o postmaster está aceitando conexões TCP/IP

I guess this is a localization of "Connection refused"?

Can you use psql running on the client machine to connect to the server
successfully? If not, JDBC isn't going to work either. I'd check for
firewalls between the client and server.

 From JDBC's perspective, it's tried to establish a TCP connection to
port 5432 on your server and got a connection refused error. There is
nothing that the driver can do about that, you've got a connectivity
problem somewhere.

-O

pgsql-jdbc by date:

Previous
From: Markus Schaber
Date:
Subject: Re: Create Database using JDBC
Next
From: Oliver Jowett
Date:
Subject: Re: Feature request for setting the role with the URL connection