Search Postgresql Archives

Re: Cannot reach pg server using -h localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hosts file:

127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost

On Tue, Jul 21, 2015 at 7:42 PM, Adrian Klaver
<adrian.klaver@xxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxx> 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@xxxxxxxxxxx


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux