Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHMCW-0003tu-AA for pgsql-admin@arkaria.postgresql.org; Sun, 04 Jun 2017 03:27:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dHMCV-0001sH-A8 for pgsql-admin@arkaria.postgresql.org; Sun, 04 Jun 2017 03:27:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dHMCT-0001rc-If for pgsql-admin@postgresql.org; Sun, 04 Jun 2017 03:27:33 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHMCO-0000wi-1a for pgsql-admin@postgresql.org; Sun, 04 Jun 2017 03:27:30 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 96E4D4720A167 for ; Sat, 3 Jun 2017 20:27:26 -0700 (MST) Date: Sat, 3 Jun 2017 20:27:26 -0700 (MST) From: kschindl To: pgsql-admin@postgresql.org Message-ID: <1496546846616-5964671.post@n3.nabble.com> In-Reply-To: References: <1496544711321-5964669.post@n3.nabble.com> Subject: Re: listen_addresses = '*' postgresql 9.5 does not allow local connect MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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-tp5964669p5964671.html 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