Question

Streaming Replication

as i was following through the same topic ive come across a problem, the basebackup completed and i restarted the replica but the master is still not showing streaming when ive ran the command of pg stat replication


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

It sounds like that there might be a connectivity issue, if you have a firewall, make sure to allow your replica IP on your main server, and also allow your main server on your replica so that the two servers could communicate directly.

If this does not help, feel free to share your pg_hba.conf file here and also what is the output of the following statement:

SELECT client_addr, state FROM pg_stat_replication;

Regards, Bobby