I am new for stolon. I can see there are two options pg-advertise-address and pg-listen-address what is the difference between them.
pg-listen-address is to allow remote connection for psql, then why do we need advertise address separately ?
Please answer with an example. Thanks in advance