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': {