From 8b9bef865e3719a93f5a969261c0fbbfa106aa1f Mon Sep 17 00:00:00 2001 From: Otthorn Date: Wed, 10 Mar 2021 12:26:18 +0100 Subject: [PATCH] postgresql listen on pseudo-address --- roles/postgresql_server/templates/postgresql/postgresql.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 b/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 index 768d3f0..f2d1b3e 100644 --- a/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 +++ b/roles/postgresql_server/templates/postgresql/postgresql.conf.j2 @@ -57,6 +57,8 @@ external_pid_file = '/var/run/postgresql/{{ postgresql.version }}-main.pid' # - Connection Settings - +listen_addresses = 0.0.0.0, [::] +# listen_addresses = * # listen to all #listen_addresses = 'localhost' # what IP address(es) to listen on; # comma-separated list of addresses; # defaults to 'localhost'; use '*' for all