Stuck on Replication (#YD3) but it fails when testing Replication (#XC1) connection refused error

Note: I’ve updated the title of this post to include the stage ID (#YD3). You can learn about the stages rename here: Upcoming change: Stages overhaul.