diff options
author | Aleš Smodiš <aless@guru.si> | 2015-10-05 17:55:29 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-10-05 17:55:29 +0200 |
commit | 3f54d449c4ebad07ddf4e8018c5ee0f0a4b00cd5 (patch) | |
tree | d319e87c0872da7db1b721919d23a667d9d67e6a | |
parent | 63a852da581bd58975f021ef1adda07312183881 (diff) |
Bind the node server to the localhost interface.
-rw-r--r-- | web/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/main.js b/web/main.js index 2446010..1a160e6 100644 --- a/web/main.js +++ b/web/main.js @@ -21,7 +21,7 @@ process.on('uncaughtException', function (error) { logException('Uncaught exception: ' + error, error); }); -http_server.listen(8083); +http_server.listen(8083, 'localhost'); var server = new engine.Server({ 'pingTimeout': 60000, // in ms |