Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqHrC-0006iN-Dy for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:12:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqHrB-0003xi-Db for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:12:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqHrB-0003xa-4m for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:12:05 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqHr8-0001eP-Sh for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:12:04 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 0FF762A0106 for ; Mon, 7 Jun 2021 09:12:01 -0700 (PDT) Date: Mon, 7 Jun 2021 09:12:01 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Database issues when adding GUI In-Reply-To: <880155.1623081638@sss.pgh.pa.us> Message-ID: References: <48392c33-d63e-15be-e7de-d7a7c0c2fd80@gmail.com> <880155.1623081638@sss.pgh.pa.us> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 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