Editing the pg_hba.conf file

Open the pg_hba.conf file in a text editor and add the following line.

The pg_hba.conf file is located in %PostgreSQL%\12\data. This enables the database server to allow remote connections.

host    all             all             0.0.0.0/0               md5