Re: Enable user access from remote host

From: Piotre Ugrumov <afmulone(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Enable user access from remote host
Date: 2009-03-08 10:06:04
Message-ID: ae9ea96f-1a42-4aeb-803d-0101d1de7964@33g2000yqm.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8 Mar, 02:08, pie(dot)(dot)(dot)(at)hogranch(dot)com (John R Pierce) wrote:
> Martin Gainty wrote:
> > postgresql.conf :
> > change listen_address to a real ip
>
> change it to '*' or you won't be able to use localhost...  alternately,
> youc could specify ip.of.net.iface,localhost   if you wanted to be specific.
>
> --
> Sent via pgsql-general mailing list (pgsql-gene(dot)(dot)(dot)(at)postgresql(dot)org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general

Hi,
I inserted this line at the end of the pg_hba.conf

host test angelo "" ident sameuser

I inserted the "" to allow to everyone to access to the db.
But if I try to access, from another host, I receive an error. What is
the error in that line?
Thanks, bye bye.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carl Sopchak 2009-03-08 14:39:13 Re: Newbie questions relating to transactions
Previous Message Willy-Bas Loos 2009-03-08 09:11:08 Re: open up firewall from "anywhere" to postgres ports?