Hola Fernando, El mar, 25 jul 2023 19:07, Romero, Fernando < fernando.rom...@trenesargentinos.gob.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