pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Leonardo Ribeiro Queiros <leonardo@eee.ufg.br>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Applet - JDBC?
Date: Tue, 20 Dec 2005 21:26:15 +0000
Message-ID: <43A876F7.3010708@opencloud.com> (raw)
In-Reply-To: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br>
References: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br>

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



view thread (4+ messages)

Message-ID: <43A876F7.3010708@opencloud.com>
Permalink:  ../43A876F7.3010708@opencloud.com/
Also on:    postgresql.org/message-id/43A876F7.3010708@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, leonardo@eee.ufg.br
  Subject: Re: Applet - JDBC?
  In-Reply-To: <43A876F7.3010708@opencloud.com>
  References: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br> <43A876F7.3010708@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox