pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rich Shepard <rshepard@appl-ecosys.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Database issues when adding GUI
Date: Mon, 07 Jun 2021 12:17:04 -0400
Message-ID: <880844.1623082624@sss.pgh.pa.us> (raw)
In-Reply-To: <alpine.LNX.2.20.2106070905230.1822@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.2106070748380.1822@salmo.appl-ecosys.com>
	<48392c33-d63e-15be-e7de-d7a7c0c2fd80@gmail.com>
	<alpine.LNX.2.20.2106070828070.1822@salmo.appl-ecosys.com>
	<fc13956f-271a-7977-54d3-9aeb76f0211c@gmail.com>
	<alpine.LNX.2.20.2106070852000.1822@salmo.appl-ecosys.com>
	<880155.1623081638@sss.pgh.pa.us>
	<alpine.LNX.2.20.2106070905230.1822@salmo.appl-ecosys.com>

Rich Shepard <rshepard@appl-ecosys.com> writes:
> On Mon, 7 Jun 2021, Tom Lane wrote:
>> What you've got there is that Unix-socket connections work, but TCP
>> connections do not. Check the server's listen_addresses setting. If that
>> says to allow connections on these IP addresses, next check your kernel
>> firewall.

> What I read on <https://www.postgresql.org/docs/13/auth-pg-hba-conf.html; is

pg_hba.conf is exactly not what I told you to check.

The "connection refused" failure implies that you're not getting as
far as where it would look at pg_hba.conf.  If you were, and the
contents of that file were wrong, you'd get a more on-point message.
Hence, you need to look at what is stopping TCP connections from
going through at all.

(Whether this is really the cause of your original problem remains
doubtful to me, but we'll see.)

			regards, tom lane





view thread (54+ messages)  latest in thread

Message-ID: <880844.1623082624@sss.pgh.pa.us>
Permalink:  ../880844.1623082624@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/880844.1623082624@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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rshepard@appl-ecosys.com
  Subject: Re: Database issues when adding GUI
  In-Reply-To: <880844.1623082624@sss.pgh.pa.us>
  References: <alpine.LNX.2.20.2106070748380.1822@salmo.appl-ecosys.com> <48392c33-d63e-15be-e7de-d7a7c0c2fd80@gmail.com> <alpine.LNX.2.20.2106070828070.1822@salmo.appl-ecosys.com> <fc13956f-271a-7977-54d3-9aeb76f0211c@gmail.com> <alpine.LNX.2.20.2106070852000.1822@salmo.appl-ecosys.com> <880155.1623081638@sss.pgh.pa.us> <alpine.LNX.2.20.2106070905230.1822@salmo.appl-ecosys.com> <880844.1623082624@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