Re: Database issues when adding GUI

From: Edson Carlos Ericksson Richter <richter(at)simkorp(dot)com(dot)br>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Database issues when adding GUI
Date: 2021-06-07 16:18:51
Message-ID: bb92f954-b4bc-da28-3809-021a37cb9d73@simkorp.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Gendler 2021-06-07 16:20:05 Re: bottom / top posting
Previous Message Rich Shepard 2021-06-07 16:18:48 Re: Database issues when adding GUI