From 20eea162b36ddd8769ce4e8f525e1dad14b0d939 Mon Sep 17 00:00:00 2001 From: Overtorment Date: Mon, 5 Sep 2016 05:59:50 +0200 Subject: [PATCH] better ipv6 support --- server/node.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/node.js b/server/node.js index fad088b..752ed15 100644 --- a/server/node.js +++ b/server/node.js @@ -104,4 +104,5 @@ var _destroy_socket = function (socket) { server.on('listening', function(){ console.log('NoobHub on ' + server.address().address +':'+ server.address().port); }); -server.listen(cfg.port); +server.listen(cfg.port, '::'); +