diff --git a/lib/net.js b/lib/net.js index 09ebc1b082a065..01dd8bcbebe39b 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1107,7 +1107,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; }