Re: Cannot reach pg server using -h localhost

From: Chris Mair <chris(at)1006(dot)org>
To: Fritz Meissner <fritz(dot)meissner(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot reach pg server using -h localhost
Date: 2015-07-21 17:46:37
Message-ID: 24ed1b6206d4341bb99fb63ae977e7bb@smtp.hushmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> Use netstat to look what IP postgres actually binds to.
>
> Nothing unusual:
>
> ~ netstat -an | grep 5432
> tcp4 0 0 *.5432 *.* LISTEN
> tcp6 0 0 *.5432 *.* LISTEN
> 9767b1c9fd5d8ab1 stream 0 0 9767b1ca01d63a21
> 0 0 0 /tmp/.s.PGSQL.5432
>

and if you have it listen to 127.0.0.1, you see 127.0.0.1 in netstat?

and psql -h 127.0.0.1 still fails?

is lo0 still there (ifconfig)?

Bye,
Chris.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2015-07-21 17:53:25 Re: Cannot reach pg server using -h localhost
Previous Message Fritz Meissner 2015-07-21 17:43:59 Re: Cannot reach pg server using -h localhost