pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edson Carlos Ericksson Richter <richter@simkorp.com.br>
To: pgsql-general@lists.postgresql.org
Subject: Re: Database issues when adding GUI
Date: Mon, 7 Jun 2021 13:18:51 -0300
Message-ID: <bb92f954-b4bc-da28-3809-021a37cb9d73@simkorp.com.br> (raw)
In-Reply-To: <b251ff3cb957cd99269b8951f88864843d052df1.camel@lists.simkin.ca>
References: <alpine.LNX.2.20.2106070748380.1822@salmo.appl-ecosys.com>
	<3c1ed25a-8924-d27b-bb97-d79984390290@gmail.com>
	<alpine.LNX.2.20.2106070839210.1822@salmo.appl-ecosys.com>
	<880013.1623081440@sss.pgh.pa.us>
	<alpine.LNX.2.20.2106070900200.1822@salmo.appl-ecosys.com>
	<b251ff3cb957cd99269b8951f88864843d052df1.camel@lists.simkin.ca>


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 
>> 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?


Are you sure it should be 127.0.1.1, not 127.0.0.1? AFAIK, localhost 
should be 127.0.0.1

May be an issue in /etc/hosts for "salmo" host?


Just my 2c,


Edson







view thread (54+ messages)  latest in thread

Message-ID: <bb92f954-b4bc-da28-3809-021a37cb9d73@simkorp.com.br>
Permalink:  ../bb92f954-b4bc-da28-3809-021a37cb9d73@simkorp.com.br/
Also on:    postgresql.org/message-id/bb92f954-b4bc-da28-3809-021a37cb9d73@simkorp.com.br

 · 

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: richter@simkorp.com.br
  Subject: Re: Database issues when adding GUI
  In-Reply-To: <bb92f954-b4bc-da28-3809-021a37cb9d73@simkorp.com.br>
  References: <alpine.LNX.2.20.2106070748380.1822@salmo.appl-ecosys.com> <3c1ed25a-8924-d27b-bb97-d79984390290@gmail.com> <alpine.LNX.2.20.2106070839210.1822@salmo.appl-ecosys.com> <880013.1623081440@sss.pgh.pa.us> <alpine.LNX.2.20.2106070900200.1822@salmo.appl-ecosys.com> <b251ff3cb957cd99269b8951f88864843d052df1.camel@lists.simkin.ca> <bb92f954-b4bc-da28-3809-021a37cb9d73@simkorp.com.br>

* 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