pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Database issues when adding GUI
Date: Mon, 7 Jun 2021 09:12:01 -0700 (PDT)
Message-ID: <alpine.LNX.2.20.2106070905230.1822@salmo.appl-ecosys.com> (raw)
In-Reply-To: <880155.1623081638@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>

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.

Tom,

What I read on <https://www.postgresql.org/docs/13/auth-pg-hba-conf.html; is
# The same using local loopback TCP/IP connections.
#
# TYPE  DATABASE        USER            ADDRESS                 METHOD
host    all             all             127.0.0.1/32            trust

Here, in /usr/share/postgresql-12/pg_hba.conf I have
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust

The firewall is on the router, not this server/workstation.

And I did restart postgres after editing pg_hba.conf.

Thanks,

Rich






view thread (54+ messages)  latest in thread

Message-ID: <alpine.LNX.2.20.2106070905230.1822@salmo.appl-ecosys.com>
Permalink:  ../alpine.LNX.2.20.2106070905230.1822@salmo.appl-ecosys.com/
Also on:    postgresql.org/message-id/alpine.LNX.2.20.2106070905230.1822@salmo.appl-ecosys.com

 · 

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: rshepard@appl-ecosys.com
  Subject: Re: Database issues when adding GUI
  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>

* 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