Zugriff auf PostgreSQL von einem anderem Computer zulassen

August 22, 2021 - Lesezeit: ~1 Minute
  1. Datei /etc/postgresql/11/main/postgresql.conf
     # - Connection Settings -
    listen_addresses = '*' # what IP address(es) to listen on;
     
  2. Datei /etc/postgresql/11/main/pg_hba.conf
     # IPv4 local connections:
    host all all 127.0.0.1/32 md5
    host all all 192.168.2.0/24 md5
Tags: