Re: pg_baseback could not connect in AWS linux 2

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Pepe TD Vo <pepevo(at)yahoo(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_baseback could not connect in AWS linux 2
Date: 2021-02-16 06:11:44
Message-ID: 3b5e8c42-04fb-dcb8-4b4c-7130237d97f3@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Keith Fiske 2021-02-17 00:06:39 Re: index bloat estimation
Previous Message Laurenz Albe 2021-02-16 03:34:28 Re: Getting relevant table value as pertains to autovacuum_analyze_scale_factor (and vacuum scale factor)?