From: Julio Leyva <jcleyva@hotmail.com>
To: Klay Martens <kmartens@wol.co.za>
To: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf is driving me nuts
Date: Sat, 15 Dec 2007 23:55:09 +0000
Message-ID: <BLU102-W6DCA4CC02447F22280C75A1600@phx.gbl> (raw)
In-Reply-To: <000001c83f0f$37df75b0$0100000a@klaydual>
References: <000001c83f0f$37df75b0$0100000a@klaydual>
also make sure you started postgesql with -i option, so you can connect from the lan
Julioc.
----------------------------------------
> From: kmartens@wol.co.za
> To: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] pg_hba.conf is driving me nuts
> Date: Sat, 15 Dec 2007 13:39:44 +0200
>
> Hi..yes, I have set the "listen_addresses" to "*"...rather an obvious first
> stop...As I said - I have no problems connecting locally, or on a LAN - no
> sweat at all. Simply cannot get the connection to work from another network
> over a WAN. I believe the problem stems from my not setting pg_hba.conf
> correctly, but I would love to test this!
> This is my pg_hba.conf file from my developement box:
>
> # TYPE DATABASE USER CIDR-ADDRESS METHOD
> # IPv4 local connections:
> host all all 127.0.0.1/32 md5
> # IPv6 local connections:
> host all all 10.0.0.0/24 md5
> host all all 0.0.0.0 0.0.0.0 md5
>
> At one stage, I even looked up the source ip address reported by aports when
> I was logged onto the machine remotely..even that address did not work. So I
> figure there is a problem with the subnet mask (don't realy understand the
> address masks all that well - I am a programmer, not a network tekkie, so it
> is kind of new territory for me). What I was wondering is if there was some
> way to allow any host to connect, regardless of ip and subnet which was the
> behaviour I expected from the 0.0.0.0 0.0.0.0 setting - of course it did
> absolutely nothing.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: jcleyva@hotmail.com, kmartens@wol.co.za
Subject: Re: pg_hba.conf is driving me nuts
In-Reply-To: <BLU102-W6DCA4CC02447F22280C75A1600@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox