Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmUYT-0002ha-89 for pgsql-general@arkaria.postgresql.org; Thu, 24 Jan 2019 02:15:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmUYR-0007y8-5U for pgsql-general@arkaria.postgresql.org; Thu, 24 Jan 2019 02:15:43 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmUYQ-0007xq-TM for pgsql-general@lists.postgresql.org; Thu, 24 Jan 2019 02:15:42 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmUYK-0007DZ-34 for pgsql-general@lists.postgresql.org; Thu, 24 Jan 2019 02:15:41 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 54CA55F79E; Wed, 23 Jan 2019 21:15:35 -0500 (EST) Date: Wed, 23 Jan 2019 21:15:35 -0500 From: Stephen Frost To: Alex Morris Cc: pgsql-general@lists.postgresql.org Subject: Re: how to properly start postgresql with no TCP listeners in ubuntu 16.04 LTS Message-ID: <20190124021535.GK2528@tamriel.snowman.net> References: <985c8553-4543-8b73-d455-0813873147d6@twelvemountain.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5zF9tJA1hV/EK64b" Content-Disposition: inline In-Reply-To: <985c8553-4543-8b73-d455-0813873147d6@twelvemountain.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --5zF9tJA1hV/EK64b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * Alex Morris (alex.morris@twelvemountain.com) wrote: > This question may simply be my ignorance of what piece of the systemd / > systemctl puzzle needs attention. Any clues are appreciated. The simplest approach is to just modify the postgresql.conf file in /etc/postgresql/9.5/main to update listen_addresses to be ''. Thanks! Stephen --5zF9tJA1hV/EK64b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJcSR/GAAoJEO1sijiDR2RVz8UP/RNZMJ5m8M4I6VealegjLww0 HWbr0OPu0azQVeJILlYHD5SyN+NXi0Cw3kXLBF44WgFgLkYMLY6ZOAjzjvcCYUOx QSaqViQpszAIxW+v+xd93zLFnJ0XshDLRxFIF95wGxD7zR153VCwUSdhNpLGIxWD x7hK5lQM3pGn3MpA5b31SaP8OT8xzFUKWAgBzWs+sOOpZ6jrA2R2OsKghe0IKdad fuKE/mQTKl8FoK/9/M+uCeD3Bx+yLXtlUp4zPgXSV9xhKbr9i7AIzMQbaYq7MdKB Wfsjzb9wgUxXQq7CbLjBPTIEVS9NNjd10eQhlYHW9PAnZdkBFvWpT+VVaqAlPgeS 0wYCWhdafg28AEjPM3jwg/gw5O5u2bjk1QVITl2GfmaeqAbBFHR5z8cFSwrJPutn s/w8tBmJFOvzn/gfcoxiiaWl2l7QDDMD39VgbUdvIsuzuUYzhk3YYswgUUeOWGo/ RvVYimX4UyEneGqCf5pmGN1AZY6NQrA2UTW9g9VnrhEq2xOjujVmSs6VBVkQDb/p MTjMt8xsyxijj0Z8gKN34esuFOz6Xj8iQ11NeZu2oZyS813o1WlgaiYkVkG7Wp2m xe6jt4R6rY+6aOfbTmHMD2JpxYhjOChyiSaA7jdSur9kMMwo4FLGMiExrnOTqpxk BpvvLOhkqt9yV7NGhgl/ =3Zwz -----END PGP SIGNATURE----- --5zF9tJA1hV/EK64b--