Skip site navigation (1) Skip section navigation (2)

Re: Postgres-JDBC question

From: Mark Lewis <mark(dot)lewis(at)mir3(dot)com>
To: Sean <sean(dot)conlon(at)4expertsolutions(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Postgres-JDBC question
Date: 2006-01-27 18:41:22
Message-ID: 1138387282.28241.45.camel@archimedes (view raw or flat)
Thread:
Lists: pgsql-jdbc
This usually means that you have allowed TCP/IP connections in
postgresql.conf, but haven't added a rule allowing remote access in
pg_hba.conf for anything other than localhost.

A sample pg_hba.conf line to allow any host on the network to connect
using MD5 password hashes would be:

host   all    all   0.0.0.0 0.0.0.0 md5

-- Mark Lewis

On Fri, 2006-01-27 at 08:31 -0600, Sean wrote:
> I am using Hibernate to connect to my PostgreSQL (btw – I love)
> database, and can connect my app and the db when using localhost, but
> when I try to connect via an ip address, it blows up telling me that
> the connection was refused.  I have set the postmaster to listen for
> TCP/IP connections, but still does not work.  Any suggestions? 
> 
>  
> 
> Thanks,
> 
>    Sean 
> 
> 

In response to

Responses

pgsql-jdbc by date

Next:From: Philip YarraDate: 2006-01-28 03:13:54
Subject: Re: Postgres-JDBC question
Previous:From: SeanDate: 2006-01-27 14:31:41
Subject: Postgres-JDBC question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group