[postgis-users] [OT] Allowing network client connections

TECHER Jean David davidtecher at yahoo.fr
Thu Apr 7 07:51:03 PDT 2005


Hi Robert

it's

host all 192.168.0.0 255.255.255.0 trust

not

host all 192.168.0.0 255.255.0.0 trust

U did a error in SubNet: 255.255.255.0 and not 255.255.0.0
----------------------------------------------------------------
TECHER Jean David
Responsable Informatique 01MAP
e-mail: davidtecher at yahoo.fr
Bureau: 04 67 45 60 27
Portable: 06 85 37 36 75
site perso : http://techer.pascal.free.fr/postgis/
site pro: http://www.01map.com/download/
K-S:"The greatest trick the devil pulled off was convincing people he didn't
exist"
------------------------------------------------------------
----- Original Message -----
From: "Robert Aldridge" <bamarob55 at yahoo.com>
To: <postgis-users at postgis.refractions.net>
Sent: Thursday, April 07, 2005 4:43 PM
Subject: [postgis-users] [OT] Allowing network client connections


> Sorry for the off-topic post, but I'm really hoping
> someone here can help.  I've done Google searches and
> read the PostgreSQL docs, but the more I read, the
> more confused I get!
>
> I'm starting my PostgreSQL/PostGIS database with:
>
> '/usr/local/pgsql/bin/postmaster -i -D
> /usr/local/pgsql/data >logfile 2>&1 &'
>
> This starts the postmaster and I can connect to it
> from localhost.  What do I need to add to pg_hba.conf
> to allow any clients on my LAN (addresses 192.168.1.*)
> to connect?
>
> I've tried adding different combinations of the
> following without success (BTW, I am adding these
> *before* the last line which rejects all other
> connections:
>
> host all 192.168.0.0 255.255.0.0 trust
> host mydatabase 192.168.1.0/24
> host all 192.168.1.0/24 trust
>
> Of course, with each change in pg_hba.conf, I restart
> the postmaster.
>
> Once again, I apologize for the [OT] post, but I just
> can't seem to get this one figured out.
>
> Thanks,
>
> Robert
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>






More information about the postgis-users mailing list