From: Robert Gravsjö <tekniksupport@blogg.se>
To: Nilesh Govindarajan <lists@itech7.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Socket & TCP connections
Date: Mon, 29 Mar 2010 08:38:41 +0200
Message-ID: <4BB04AF1.1030001@blogg.se> (raw)
In-Reply-To: <4BB00A9C.2040007@itech7.com>
References: <4BAF8DA9.2010000@itech7.com>
<4BB00A9C.2040007@itech7.com>
Nilesh Govindarajan skrev 2010-03-29 04.04:
> Hi, it seems to be working now. Can somebody explain to me how ? See
> this pg_hba.conf -
Did you reload the config, i.e pg_ctl reload, after making changes the
first time?
Regards,
roppert
>
> # "local" is for Unix domain socket connections only
> local all root trust
> local all all md5
> # IPv4 local connections:
> #host all root 127.0.0.1/32 trust
> #host all root ::1/128 trust
> host all all 127.0.0.1/32 md5
> host all all ::1/128 md5
>
> Its the same code I think which I wrote previously. But now it asks
> password when connected through TCP and doesn't when connected directly
> as psql -d postgres
>
> PLZ EXPLAIN !! I'm in a big confusion :?
>
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: tekniksupport@blogg.se, lists@itech7.com
Subject: Re: Socket & TCP connections
In-Reply-To: <4BB04AF1.1030001@blogg.se>
* 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