From e68f1d64a3eb7c051f058498f616afe9b648d2f9 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Mon, 30 Sep 2013 15:36:05 +0200 Subject: [PATCH] Listen on all addresses per default. --- config/local.yaml.dist | 6 +++--- src/main.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/local.yaml.dist b/config/local.yaml.dist index 16d3233..7096036 100644 --- a/config/local.yaml.dist +++ b/config/local.yaml.dist @@ -2,10 +2,10 @@ http: # Address on which the server is listening on. # - # Sets it to '0.0.0.0' to listen on all addresses. + # Sets it to '127.0.0.1' to listen only on the local host. # - # Default: 127.0.0.1 - #host: '0.0.0.0' + # Default: 0.0.0.0 (all addresses) + #host: '127.0.0.1' # Port on which the server is listening on. # diff --git a/src/main.js b/src/main.js index 3a6ac1d..4ce2c4c 100644 --- a/src/main.js +++ b/src/main.js @@ -323,7 +323,7 @@ var cfg = { // Defaults values. cfg.merge({ 'http': { - 'host': '127.0.0.1', + 'host': '0.0.0.0', 'port': 80, }, 'redis': {