pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nanaska_91@mail.ru
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13463: fatal 28000 no pg_hba.conf entry for host
Date: Tue, 23 Jun 2015 20:17:56 -0400
Message-ID: <15865.1435105076@sss.pgh.pa.us> (raw)
In-Reply-To: <20150623160948.3874.322@wrigleys.postgresql.org>
References: <20150623160948.3874.322@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

nanaska_91@mail.ru writes:
> I can't connect to remote PostgreSQL database: error "28000 no pg_hba.conf
> entry for host" occurs.
> I've opened port 5432 in Firewall, my pg_hba.conf file looks like:
> # IPv4 local connections:
> hostnossl     all     all     0.0.0.0/0     md5
> # IPv6 local connections:
> host    all             all             ::1/128                 md5

Most likely bet seems to be that your remote connection is coming in over
IPv6.  You're allowing IPv6 connections only from localhost in this
configuration.

Another possibility is that the client is trying to use SSL.  By default
I think most clients would fall back to non-SSL after failing, but maybe
you have it set up not to.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <15865.1435105076@sss.pgh.pa.us>
Permalink:  ../15865.1435105076@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15865.1435105076@sss.pgh.pa.us

 · 

reply

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nanaska_91@mail.ru
  Subject: Re: BUG #13463: fatal 28000 no pg_hba.conf entry for host
  In-Reply-To: <15865.1435105076@sss.pgh.pa.us>
  References: <20150623160948.3874.322@wrigleys.postgresql.org> <15865.1435105076@sss.pgh.pa.us>

* 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