diff --git a/lib/net.js b/lib/net.js index 62cecc61d2a70e..c79e4c1bbe6f36 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1412,7 +1412,7 @@ function lookupAndConnectMultiple(self, async_id_symbol, lookup, host, options, const context = { socket: self, - addresses, + addresses: toAttempt, current: 0, port, localPort,