Re: trying to connect to pg from within a local network

From: Jan de Visser <jdevisser(at)digitalfairway(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Cc: "Albretch Mueller" <lbrtchx(at)gmail(dot)com>, "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Subject: Re: trying to connect to pg from within a local network
Date: 2008-01-16 19:06:32
Message-ID: 200801161406.32449.jdevisser@digitalfairway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wednesday 16 January 2008 12:58:58 Albretch Mueller wrote:
>  OK, I did too, this is how my /data/pg_hba.conf looks like:
> ~
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>
> # IPv4 local connections:
> host     all     all     127.0.0.1/32,10.0.31.62         md5
> # IPv6 local connections:
> #host    all         all         ::1/128               md5

It doesn't work like that. CIDR-ADDRESS is a single address range.

Try putting 10.0.31.62/32 on a separate line.

jan

--
--------------------------------------------------------------
Jan de Visser                     jdevisser(at)digitalfairway(dot)com

                Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2008-01-16 20:51:16 Re: postgresql in FreeBSD jails: proposal
Previous Message Albretch Mueller 2008-01-16 18:59:16 Re: trying to connect to pg from within a local network