Re: Connection problems - local IP address refused! - Mailing list pgsql-general

From Edson Richter
Subject Re: Connection problems - local IP address refused!
Date
Msg-id BLU0-SMTP390BA6331CEDE8865E34E14CF950@phx.gbl
Whole thread Raw
In response to Re: Connection problems - local IP address refused!  (Alban Hertroys <haramrae@gmail.com>)
Responses Re: Connection problems - local IP address refused!  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-general
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@hotmail.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@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.

master=> select count(*) from pessoa;
  count
-------
      9
(1 registro)


pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Connection problems - local IP address refused!
Next
From: rob stone
Date:
Subject: Re: Connection problems - local IP address refused!