pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kschindl <chuck666xx@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: listen_addresses = '*' postgresql 9.5 does not allow local connect
Date: Sat, 3 Jun 2017 20:27:26 -0700 (MST)
Message-ID: <1496546846616-5964671.post@n3.nabble.com> (raw)
In-Reply-To: <CAKFQuwYQhrMP95AMR7Pt0nAXgBkbADaCOWR2HMWbv_L7gvp59Q@mail.gmail.com>
References: <1496544711321-5964669.post@n3.nabble.com>
	<CAKFQuwYQhrMP95AMR7Pt0nAXgBkbADaCOWR2HMWbv_L7gvp59Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

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@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.


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



view thread (12+ messages)  latest in thread

Message-ID: <1496546846616-5964671.post@n3.nabble.com>
Permalink:  ../1496546846616-5964671.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1496546846616-5964671.post@n3.nabble.com

 · 

reply

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: chuck666xx@gmail.com
  Subject: Re: listen_addresses = '*' postgresql 9.5 does not allow local connect
  In-Reply-To: <1496546846616-5964671.post@n3.nabble.com>

* 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