On 08/28/2011 08:33 AM, Craig Ringer wrote:
>> A client is hitting an issue with JDBC:
>> org.postgresql.util.PSQLException: Connection refused. Check that the
>> hostname and port are correct and that the postmaster is accepting
>> TCP/IP connections.
>>
>> -pg_hba.conf is set to trust 0.0.0.0/0 (
On 24/08/2011 6:47 AM, Sam Nelson wrote:
Hi list,
A client is hitting an issue with JDBC:
org.postgresql.util.PSQLException: Connection refused. Check that the
hostname and port are correct and that the postmaster is accepting
TCP/IP connections.
-pg_hba.conf is set to trust 0.0.0.0/0 (IPv4 onl
Hi,
- check for open server socket: netstat -tulpen | grep postgres
- try to force ipv4 for java with system property (a recent jre prefers
ipv6): -Djava.net.preferIPv4Stack=true
regards
Thomas
Am 24.08.2011 00:47, schrieb Sam Nelson:
Hi list,
A client is hitting an issue with JDBC:
org.pos
On Tue, 2011-08-23 at 19:38 -0400, Dave Cramer wrote:
> The only difference JDBC has over psql is that it has to connect via
> tcpip. Not sure about pgadmin.
>
pgAdmin is like psql on this. It can use TCP connections, and socket
connections.
--
Guillaume
http://blog.guillaume.lelarge.info
Everything is remote. I thought of the IPv6 thing, but that seems
unlikely - all connections are coming from the same system.
Still, we'll ask them and try to get some more details about things like that.
---
===
Samuel Nelson
Consistent State
www.consistentstate.com
303-9
On Tuesday, August 23, 2011 6:58:13 pm Sam Nelson wrote:
> Everything is remote. I thought of the IPv6 thing, but that seems
> unlikely - all connections are coming from the same system.
The easy way to test is to throw in an IPv6 rule that matches the IPv4 rule
into
pg_hba.conf.
>
> Still, w
On Tuesday, August 23, 2011 3:47:33 pm Sam Nelson wrote:
> Hi list,
>
> A client is hitting an issue with JDBC:
> org.postgresql.util.PSQLException: Connection refused. Check that the
> hostname and port are correct and that the postmaster is accepting
> TCP/IP connections.
>
> -pg_hba.conf is se
The only difference JDBC has over psql is that it has to connect via
tcpip. Not sure about pgadmin.
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Tue, Aug 23, 2011 at 6:47 PM, Sam Nelson wrote:
> Hi list,
>
> A client is hitting an issue with JDBC:
> org.postgresql.uti