Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd5bb67

Browse files
committed
Disable network access by default (it was accidently enabled in 1C patches
1 parentb04599c commitbd5bb67

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)

[8]ページ先頭

©2009-2025 Movatter.jp