pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Pepe TD Vo <pepevo@yahoo.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_baseback could not connect in AWS linux 2
Date: Tue, 16 Feb 2021 07:11:44 +0100
Message-ID: <3b5e8c42-04fb-dcb8-4b4c-7130237d97f3@enterprisedb.com> (raw)
In-Reply-To: <1983833580.900377.1613168297813@mail.yahoo.com>
References: <1983833580.900377.1613168297813.ref@mail.yahoo.com>
	<1983833580.900377.1613168297813@mail.yahoo.com>

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.





view thread (2+ messages)

Message-ID: <3b5e8c42-04fb-dcb8-4b4c-7130237d97f3@enterprisedb.com>
Permalink:  ../3b5e8c42-04fb-dcb8-4b4c-7130237d97f3@enterprisedb.com/
Also on:    postgresql.org/message-id/3b5e8c42-04fb-dcb8-4b4c-7130237d97f3@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: peter.eisentraut@enterprisedb.com, pepevo@yahoo.com
  Subject: Re: pg_baseback could not connect in AWS linux 2
  In-Reply-To: <3b5e8c42-04fb-dcb8-4b4c-7130237d97f3@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox