From: Craig Ringer <craig@postnewspapers.com.au>
To: zxcv@infoweb.cz
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SocketException: Connection reset
Date: Fri, 20 Feb 2009 09:42:53 +0900
Message-ID: <499DFC8D.5060307@postnewspapers.com.au> (raw)
In-Reply-To: <20090219164640.0DBAE5881E0@arachne.itcomputers.cz>
References: <20090219164640.0DBAE5881E0@arachne.itcomputers.cz>
zxcv@infoweb.cz wrote:
> \"jdbc:postgresql://localhost:5432/my\", propsDB);
> attempt number 69
> Exception in thread \"main\"
> org.postgresql.util.PSQLException: The connection
> attempt failed.
> Caused by: java.net.SocketException: Connection
> reset
> at
> java.net.SocketInputStream.read(SocketInputStream.java:168)
> org.postgresql.core.PGStream.ReceiveChar(PGStream.java:259)
> at
> org.postgresql.core.v2.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:207)
Does anything appear in the PostgreSQL server logs? Try turning up
logging verbosity and see if you get anything informative when logging
is set to debug level.
Do you have a virus scanner or firewall product installed on the
machine? If so, does the problem go away if you UNINSTALL (not merely
disable) the product then run "netsh interface ip reset c:\resetlog.txt"
in cmd.exe ? I repeat, in many cases disabling firewall/AV products is
NOT sufficient, they must often be UNINSTALLED to get rid of the filter
drivers that cause problems.
--
Craig Ringer
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: craig@postnewspapers.com.au, zxcv@infoweb.cz
Subject: Re: SocketException: Connection reset
In-Reply-To: <499DFC8D.5060307@postnewspapers.com.au>
References: <20090219164640.0DBAE5881E0@arachne.itcomputers.cz> <499DFC8D.5060307@postnewspapers.com.au>
* 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