Redis Challenge: Broken pipe on Replication 13

Hey @EshaanAgg,

Good question! There’s a detailed explanation of this here: TCP: An Overview.

Relevant section:

In this case, the string [::1]:6379->[::1]:48586 is referring to the replication connection (the one your replica used to initiate the handshake).

The values of this connection are:

  • Destination IP: ::1 (localhost in IPV6)
  • Destination port number: 6379 (master’s listening port that your replica connected to)
  • Source IP: ::1 (localhost in IPV6)
  • Source port number: 48586 (a random port used for the other end of this connection)
1 Like