From: | Olivier Gautherot <ogautherot(at)gautherot(dot)net> |
---|---|
To: | "Romero, Fernando" <Fernando(dot)Romero(at)trenesargentinos(dot)gob(dot)ar> |
Cc: | Lista PostgreSql <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: Problemas con pg_hba.conf |
Date: | 2023-07-25 18:06:07 |
Message-ID: | CAJ7S9TUZ=NAo0hzXQpGp+Si=4NbpxAcrj5d-4x27h9JFshdQ=g@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Hola Fernando,
El mar, 25 jul 2023 19:07, Romero, Fernando <
Fernando(dot)Romero(at)trenesargentinos(dot)gob(dot)ar> escribió:
> ...
>
> Cuando intento conectarme me tira este error
>
> ERROR: connection to database failed
> DETAIL:
> could not connect to server: Connection refused
> Is the server running on host "192.168.0.18" and accepting
> TCP/IP connections on port 5432?
>
> DETAIL: attempted to connect using:
> user=repmgr dbname=repmgr host=192.168.0.18 connect_timeout=2
> fallback_applica
>
Eso no se parece a un error de pg_hba.conf sino a un socket que no
responde. Cambiaste la dirección de escucha en postgresql.conf? De ser el
caso, puede haber un firewall bloqueando el acceso?
Si ejecutas ifconfig, deberías ver una entrada tipo:
0.0.0.0:5432 (en vez de 127.0.0.1:5432)
Saludos
Olivier
From | Date | Subject | |
---|---|---|---|
Next Message | Javier Lugo Porras | 2023-07-25 18:47:59 | Re: Problemas con pg_hba.conf |
Previous Message | Carlos T. Groero Carmona | 2023-07-25 17:43:37 | Re: Consulta postgres enterprise |