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 1lqHzB-00072r-AQ for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:20:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqHzA-0001IR-9r for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 16:20:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqHxw-00048d-34 for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:19:04 +0000 Received: from mail.simkorp.com.br ([177.52.183.219]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqHxq-0007oo-D8 for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 16:19:03 +0000 Received: from mail.simkorp.com.br (mail.simkorp.com.br [127.0.0.1]) by mail.simkorp.com.br (Postfix) with ESMTP id 4FzJTT32VZz4ytrb for ; Mon, 7 Jun 2021 13:18:53 -0300 (-03) Authentication-Results: mail.simkorp.com.br (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=simkorp.com.br DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simkorp.com.br; h=content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:to:subject:subject; s=dkim; t= 1623082732; x=1625674733; bh=CKU50Xe2I6gIGhWgur3vQ9SiYiJ0UIL8mXN QlpOHUcI=; b=K49oHTVNFwAVkLrCKsL2yQqEcVll5JXnLl6bBk2Ao8M039xbLyY UaYRTeqL3uvZDp6TZjXMxSrLLBv506eVOjvrZxCA3LkVlFgHw27ylD4cA+g0smPO voo6gMEonPhknfSDGOxGALR8NtsTLMkMQ0wmsliftRE5wI7q9xQSlOAE= X-Virus-Scanned: amavisd-new at mail.simkorp.com.br Received: from mail.simkorp.com.br ([127.0.0.1]) by mail.simkorp.com.br (mail.simkorp.com.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tWeKGXhccbNq for ; Mon, 7 Jun 2021 13:18:52 -0300 (-03) Received: from [192.168.0.30] (desktop [192.168.0.30]) by mail.simkorp.com.br (Postfix) with ESMTPSA id 4FzJTS02WQz5jZG7 for ; Mon, 7 Jun 2021 13:18:51 -0300 (-03) Subject: Re: Database issues when adding GUI To: pgsql-general@lists.postgresql.org References: <3c1ed25a-8924-d27b-bb97-d79984390290@gmail.com> <880013.1623081440@sss.pgh.pa.us> From: Edson Carlos Ericksson Richter Message-ID: Date: Mon, 7 Jun 2021 13:18:51 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: pt-BR Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Em 07/06/2021 13:08, Alan Hodgson escreveu: > On Mon, 2021-06-07 at 09:03 -0700, Rich Shepard wrote: >> The problem source is postgres telling me it cannot connect to the=20 >> 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=20 >> server: Connection refused >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Is the server running = on host "salmo" (127.0.1.1) and accepting >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0TCP/IP connections on = port 5432? Are you sure it should be 127.0.1.1, not 127.0.0.1? AFAIK, localhost=20 should be 127.0.0.1 May be an issue in /etc/hosts for "salmo" host? Just my 2c, Edson