Re: pg_hba.conf : bad entry for ADDRESS

From: "Ilya Kazakevich" <Ilya(dot)Kazakevich(at)JetBrains(dot)com>
To: "'arnaud gaboury'" <arnaud(dot)gaboury(at)gmail(dot)com>, "'Melvin Davidson'" <melvin6925(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_hba.conf : bad entry for ADDRESS
Date: 2016-08-25 14:37:31
Message-ID: 04c901d1fede$36ab3600$a401a200$@JetBrains.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2016-08-25 14:38:05 Re: pg_hba.conf : bad entry for ADDRESS
Previous Message arnaud gaboury 2016-08-25 14:36:56 Re: pg_hba.conf : bad entry for ADDRESS