From: | "Jaime Casanova" <systemguards(at)gmail(dot)com> |
---|---|
To: | "Reynier Perez Mira" <rperezm(at)uci(dot)cu> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Problema con pg_hba.conf |
Date: | 2008-02-07 06:00:00 |
Message-ID: | c2d9e70e0802062200j160722d5se154e8eddfe4b57c@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On Feb 7, 2008 12:08 AM, Reynier Perez Mira <rperezm(at)uci(dot)cu> wrote:
> Hola listeros:
> Estoy teniendo problema al tratar de conectarme desde pgAdmin3 a un servidor de PostgreSQL. Mi fichero de configuración tiene lo siguiente:
>
> host all all 127.0.0.1/32 md5
> host all all 10.128.50.1/32 md5
> host all all 10.8.40.1/32 md5
>
> Pero cuando intento me da este error:
> FATAL: No pg_hba.conf entry for host "10.8.40.13", user "postgres", database "postgres", SSL off
>
> ¿Que es lo que estoy haciendo mal?
Tienes configurado postgres para que solo acepte conexiones de 3
direcciones ip especificas (127.0.0.1, 10.128.50.1 y 10.8.40.1) y
luego te intentas conectar desde una maquina con otra direccion ip...
Tienes 2 alternativas:
1) añades una linea mas a pg_hba.conf
host all all 10.8.40.13/32 md5
2) cambias la linea que hace referencia 10.8.40.1 para que acepte a toda esa red
host all all 10.8.40.0/24 md5
--
Atentamente,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook
From | Date | Subject | |
---|---|---|---|
Next Message | Rodriguez Fernando | 2008-02-07 10:27:20 | Re: La sentencia es correcta?? |
Previous Message | Reynier Perez Mira | 2008-02-07 05:08:26 | Problema con pg_hba.conf |