Re: Problemas con pg_hba.conf

From: Javier Lugo Porras <jlugop(at)hotmail(dot)com>
To: ogautherot(at)gautherot(dot)net
Cc: Pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Problemas con pg_hba.conf
Date: 2023-07-25 18:47:59
Message-ID: DM6PR14MB2923F25BEF21F0832DBE8D6AC403A@DM6PR14MB2923.namprd14.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hola, de casualidad usaste pgadmin 7.4,?

Enviado desde Yahoo Mail para Android

El mar., 25 de jul. de 2023 a la(s) 1:06 p. m., Olivier Gautherot<ogautherot(at)gautherot(dot)net> escribió: 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 failedDETAIL: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)
SaludosOlivier

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Romero, Fernando 2023-07-25 18:52:02 Re: Problemas con pg_hba.conf
Previous Message Olivier Gautherot 2023-07-25 18:06:07 Re: Problemas con pg_hba.conf