Em 28 de abril de 2010 22:46, Flávio Alves Granato
<[email protected]>escreveu:

> Boa noite,
>
> Estou tendo um problema para conectar ao postgresql em uma máquina
> remota no ec2 da amazon.
> ocorre este erro abaixo e eu não sei o que fazer:
>
> FATAL: no pg_hba.conf entry for host "187.35.220.44", user "postgres",
> database "postgres", SSL on FATAL: no pg_hba.conf entry for host
> "187.35.220.44", user "postgres", database "postgres", SSL off
>
> Meu pg_hba.conf
>
> local   all         postgres                          ident
>
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>
> # "local" is for Unix domain socket connections only
> local   all         all                               ident
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          md5
> host    all         all         0.0.0.0/32            md5
> # IPv6 local connections:
> host    all         all         ::1/128               md5
>
>
> e configurei o postgresql.conf também com
>
> listen_addresses = '*'                  # what IP address(es) to listen on;
>
> se alguém puder me ajudar.
>
> atenciosamente,
>
>
Já tentou trocar
     host    all         all         0.0.0.0/32            md5
por
     host    all         all         0/0 <http://0.0.0.0/32>
     md5
?

-- 
Moisés P. Sena
(Programador WEB)
http://www.moisespsena.com
http://blog.moisespsena.com
http://linux.moisespsena.com
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a