Re: Connection problems - local IP address refused!

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Edson Richter <edsonrichter(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Connection problems - local IP address refused!
Date: 2014-02-05 15:03:35
Message-ID: 52F252C7.7010601@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/05/2014 05:43 AM, Edson Richter wrote:
> Em 05/02/2014 11:12, Alban Hertroys escreveu:
>> Are you connecting to the correct host?
>>
>> On 5 February 2014 12:37, Edson Richter <edsonrichter(at)hotmail(dot)com> wrote:
>>> Without any changes in the configuration files, a **local**
>>> connection to a
>>> local VPN IP address could not be established with the following error:
>>>
>>> The error (JDBC connection using driver version 1002):
>>> 2014-02-05 09:12:21.111 - xxxxx - org.postgresql.util.PSQLException:
>>> ERROR:
>>> could not establish connection
>>> Detail: FATAL: no pg_hba.conf entry for host "10.68.73.6", user
>>> "master",
>>> database "master", SSL off
> Sure! On the exatcly same server:
>
> [root(at)mylocalserver logs]# psql -h 10.68.73.6 -d master -U master
> Senha para usuário master:
> psql (9.2.6)
> Digite "help" para ajuda.

The error message:

Detail: FATAL: no pg_hba.conf entry for host "10.68.73.6", user
"master", database "master", SSL off

indicates your JDBC connection is not connecting to a database with the
pg_hba.conf you think it is.

What are the connection parameters for the JDBC connection?

So where is the database running?

What interface is it listening on?

I know it has been asked, but is there another Postgres instance running?

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mephysto 2014-02-05 15:19:01 Re: Temporary table already exists
Previous Message rob stone 2014-02-05 13:51:10 Re: Connection problems - local IP address refused!