Re: Cannot reach pg server using -h localhost - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Cannot reach pg server using -h localhost
Date
Msg-id 55AE848F.9000809@aklaver.com
Whole thread Raw
In response to Cannot reach pg server using -h localhost  (Fritz Meissner <fritz.meissner@gmail.com>)
Responses Re: Cannot reach pg server using -h localhost
List pgsql-general
On 07/21/2015 10:40 AM, Fritz Meissner wrote:

CCing list
> On Tue, Jul 21, 2015 at 7:30 PM, Adrian Klaver
> <adrian.klaver@aklaver.com> wrote:
>
>> So what happens if you do?:
>>
>> psql -U myuser -d mydb -h 127.0.0.1
>>
>
> Same thing. Pause for about 30 seconds and then "server closed the
> connection unexpectedly". Server log just shows:
>
> [unknown] LOG:  connection received: host=127.0.0.1 port=51919
>

So what is in your hosts file?

--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Chris Mair
Date:
Subject: Re: Cannot reach pg server using -h localhost
Next
From: Fritz Meissner
Date:
Subject: Re: Cannot reach pg server using -h localhost