Master ip has changed in postgresql replication
Easy, just change host in primary_conninfo and restart the standby.
This replication parameter can be found in recovery.conf before v12 and in postgresql.conf after that.