If a connect() fails with a connection refused this could indicate the
client and server are both reusing ports that match a defunct socket connection in TIME_WAIT state. On this failure, we select a new random port number and try again to connect. (gnats:253)
Please register or sign in to comment