Re: pg_hba.conf : bad entry for ADDRESS - Mailing list pgsql-general

From Ilya Kazakevich
Subject Re: pg_hba.conf : bad entry for ADDRESS
Date
Msg-id 04c901d1fede$36ab3600$a401a200$@JetBrains.com
Whole thread Raw
In response to Re: pg_hba.conf : bad entry for ADDRESS  (arnaud gaboury <arnaud.gaboury@gmail.com>)
Responses Re: pg_hba.conf : bad entry for ADDRESS  (arnaud gaboury <arnaud.gaboury@gmail.com>)
List pgsql-general


% psql --host=127.0.0.1/32 --dbname=mattermost --username=mmuser                                                                                                     
psql: could not translate host name "127.0.0.1/32" to address: Name or service not known
% psql --host=127.0.0.1/24 --dbname=mattermost --username=mmuser                                                                   
psql: could not translate host name "127.0.0.1/24" to address: Name or service not known


[I.K >> ] “127.0.0.1/32” is network that includes only “127.0.0.1” while “127.0.0.1” is address.

You specify network in .conf file and use address as argument to psql

pgsql-general by date:

Previous
From: arnaud gaboury
Date:
Subject: Re: pg_hba.conf : bad entry for ADDRESS
Next
From: "Joshua D. Drake"
Date:
Subject: Re: pg_hba.conf : bad entry for ADDRESS