diff --git a/lib/net.js b/lib/net.js index d0d3b4d8f097dc..332e69219d5b61 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1080,7 +1080,10 @@ function lookupAndConnect(self, options) { hints: options.hints || 0 }; - if (dnsopts.family !== 4 && dnsopts.family !== 6 && dnsopts.hints === 0) { + if (process.platform !== 'win32' && + dnsopts.family !== 4 && + dnsopts.family !== 6 && + dnsopts.hints === 0) { dnsopts.hints = dns.ADDRCONFIG; }