diff --git a/test/parallel/test-net-server-listen-options.js b/test/parallel/test-net-server-listen-options.js index e9a504a9676bbf..e168a6eb579829 100644 --- a/test/parallel/test-net-server-listen-options.js +++ b/test/parallel/test-net-server-listen-options.js @@ -18,7 +18,7 @@ function close() { this.close(); } // Test listen(host, port}) on ipv4 net.createServer().listen({ host: '127.0.0.1', port: '3000' }).on('listening', common.mustCall(close)); // Test listen(host, port}) on ipv6 - net.createServer().listen({ host: '::1', port: '3000' }).on('listening', common.mustCall(close)); + net.createServer().listen({ host: '::', port: '3000' }).on('listening', common.mustCall(close)); } // Test listen(port, cb) and listen({ port }, cb) combinations