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 1lqHir-0006N3-7t for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:03:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqHiq-0000ah-7q for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:03:28 +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 1lqHip-0000aZ-VL for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:03:27 +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 1lqHij-0001Zd-CM for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:03:27 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 6B6CF2A0106 for ; Mon, 7 Jun 2021 09:03:19 -0700 (PDT) Date: Mon, 7 Jun 2021 09:03:19 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Database issues when adding GUI In-Reply-To: <880013.1623081440@sss.pgh.pa.us> Message-ID: References: <3c1ed25a-8924-d27b-bb97-d79984390290@gmail.com> <880013.1623081440@sss.pgh.pa.us> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 7 Jun 2021, Tom Lane wrote: > Are you sure the app is connecting to the right database? > Tom, The problem source is postgres telling me it cannot connect to the database but I can do so directly using psql: $ psql --host salmo --user rshepard --dbname bustrac psql: error: could not connect to server: could not connect to server: Connection refused Is the server running on host "salmo" (127.0.1.1) and accepting TCP/IP connections on port 5432? yet, $ psql bustrac psql (12.2) Type "help" for help. bustrac=# I'm thoroughly confused not before encountering this issue. Regards, Rich