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

From Chris Mair
Subject Re: Cannot reach pg server using -h localhost
Date
Msg-id 24ed1b6206d4341bb99fb63ae977e7bb@smtp.hushmail.com
Whole thread Raw
In response to Re: 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
>> 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.






pgsql-general by date:

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