X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D932A9DC953 for ; Tue, 20 Dec 2005 17:26:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71417-03 for ; Tue, 20 Dec 2005 17:26:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id 62BD79DC812 for ; Tue, 20 Dec 2005 17:26:04 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Eoozj-0002y7-VV; Wed, 21 Dec 2005 10:26:04 +1300 Message-ID: <43A876F7.3010708@opencloud.com> Date: Tue, 20 Dec 2005 21:26:15 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Leonardo Ribeiro Queiros CC: pgsql-jdbc@postgresql.org Subject: Re: Applet - JDBC? References: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br> In-Reply-To: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200512/98 X-Sequence-Number: 14429 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