Skip to content

Commit d424023

Browse files
committed
Disable network access by default (it was accidently enabled in 1C patches
1 parent 4b9ce65 commit d424023

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/backend/libpq/pg_hba.conf.sample

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,15 @@
7979
@remove-line-for-nolocal@# "local" is for Unix domain socket connections only
8080
@remove-line-for-nolocal@local all all @authmethodlocal@
8181
# IPv4 local connections:
82-
#host all all 127.0.0.1/32 @authmethodhost@
83-
host all all 0.0.0.0/0 @authmethodhost@
82+
host all all 127.0.0.1/32 @authmethodhost@
8483
# IPv6 local connections:
8584
host all all ::1/128 @authmethodhost@
85+
# IPv4 remote commections:
86+
# Uncomment following line to allow network access. You'll also need to
87+
# add listen_addresses='*' into your postgresql.conf file
88+
# host all all 0.0.0.0/0 @authmethodhost@
89+
# IPv6 remote connections:
90+
# host all all ::/0 @authmethodhost@
8691
# Allow replication connections from localhost, by a user with the
8792
# replication privilege.
8893
@remove-line-for-nolocal@#local replication @default_username@ @authmethodlocal@

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy