Re: Re: listen_addresses = '*' postgresql 9.5 does not allow local connect

From: Михаил Шурутов <m(dot)shurutov(at)postgrespro(dot)ru>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Re: listen_addresses = '*' postgresql 9.5 does not allow local connect
Date: 2017-06-04 03:39:27
Message-ID: 25ae79cd-7824-648a-db89-216f6b1b6311@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Please set listen_addresses parameter and show output of command

netstat -ltxn|grep 5432

04.06.2017 06:27, kschindl пишет:
> David G Johnston wrote
>> On Saturday, June 3, 2017, kschindl &lt;
>
>> chuck666xx@
>
>> &gt; wrote:
>>
>> Please show some psql commands and resultant error messages.
>>
>> David J.
>
> kschindl(at)BelgarathUbuntu:~$ sudo -u postgres psql
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
>
> Pgadmin:
> Server doesn't listen
> The server doesn't accept connections: the connection library reports
> could not connect to server: Connection refused Is the server running on
> host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
>
> as soon as i remove the listen_addresses it works and connects on port 5432
>
>
>
> --
> View this message in context: http://www.postgresql-archive.org/listen-addresses-postgresql-9-5-does-not-allow-local-connect-tp5964669p5964671.html
> Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
>
>

--
WBR, Michail Shurutov
Postgres Professional: http://www.postgrespro.ru
The Russian Postgres Company

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2017-06-04 05:01:13 Re: listen_addresses = '*' postgresql 9.5 does not allow local connect
Previous Message kschindl 2017-06-04 03:27:26 Re: listen_addresses = '*' postgresql 9.5 does not allow local connect