From: Михаил Шурутов <m.shurutov@postgrespro.ru>
To: pgsql-admin@postgresql.org
Subject: Re: Re: listen_addresses = '*' postgresql 9.5 does not allow local connect
Date: Sun, 4 Jun 2017 06:39:27 +0300
Message-ID: <25ae79cd-7824-648a-db89-216f6b1b6311@postgrespro.ru> (raw)
In-Reply-To: <1496546846616-5964671.post@n3.nabble.com>
References: <1496544711321-5964669.post@n3.nabble.com>
<CAKFQuwYQhrMP95AMR7Pt0nAXgBkbADaCOWR2HMWbv_L7gvp59Q@mail.gmail.com>
<1496546846616-5964671.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 <
>
>> chuck666xx@
>
>> > wrote:
>>
>> Please show some psql commands and resultant error messages.
>>
>> David J.
>
> kschindl@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-tp596...
> Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
>
>
--
WBR, Michail Shurutov
Postgres Professional: http://www.postgrespro.ru
The Russian Postgres Company
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: m.shurutov@postgrespro.ru
Subject: Re: Re: listen_addresses = '*' postgresql 9.5 does not allow local connect
In-Reply-To: <25ae79cd-7824-648a-db89-216f6b1b6311@postgrespro.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox