Bind the server to the localhost network interface for improved security.

This commit is contained in:
Jos van den Oever
2011-01-30 22:29:16 +01:00
parent fbfbc56162
commit 4602af71ba
+1 -1
View File
@@ -108,6 +108,6 @@ http.createServer(function (request, response) {
response.end();
}
});
}).listen(8124);
}).listen(8124, "127.0.0.1");
console.log('Server running at http://127.0.0.1:8124/');