Re: pg_baseback could not connect in AWS linux 2 - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: pg_baseback could not connect in AWS linux 2
Date
Msg-id 3b5e8c42-04fb-dcb8-4b4c-7130237d97f3@enterprisedb.com
Whole thread Raw
In response to pg_baseback could not connect in AWS linux 2  (Pepe TD Vo <pepevo@yahoo.com>)
List pgsql-admin
On 2021-02-12 23:18, Pepe TD Vo wrote:
> Hello,
>           I got an error issue with pg_basebackup from sql01 to sql02.  
> I Initdb on sql01 fine and created replicauser, set all parameters in 
> postgresql.conf, and authenticate connection in pg_hba.conf.   When I 
> run pg_basebackup, could not connect to server: connection time out.  Is 
> the server running on host "x.x.x.204" and accepting TCP/IP connections 
> on port 5432.
> I see the listen for port 5432 on sql01 but not in sql02.

Check your listen_addresses setting in postgresql.conf.



pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Getting relevant table value as pertains to autovacuum_analyze_scale_factor (and vacuum scale factor)?
Next
From: Keith Fiske
Date:
Subject: Re: index bloat estimation