Skip site navigation (1) Skip section navigation (2)

Re: Socket & TCP connections

From: Robert Gravsjö <tekniksupport(at)blogg(dot)se>
To: Nilesh Govindarajan <lists(at)itech7(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Socket & TCP connections
Date: 2010-03-29 06:38:41
Message-ID: 4BB04AF1.1030001@blogg.se (view raw or flat)
Thread:
Lists: pgsql-admin

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 :?
>

In response to

pgsql-admin by date

Next:From: Guillaume LelargeDate: 2010-03-29 07:20:54
Subject: Re: Socket & TCP connections
Previous:From: Greg SmithDate: 2010-03-29 04:21:34
Subject: Re: Database size growing over time and leads to performance impact

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group