summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--lib/oxidized/config.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index de78332..4b22d8f 100644
--- a/README.md
+++ b/README.md
@@ -87,7 +87,7 @@ debug: false
threads: 30
timeout: 30
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
-rest: 0.0.0.0:8888
+rest: 127.0.0.1:8888
vars: {}
input:
default: ssh, telnet
diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb
index 97bd164..50b1e71 100644
--- a/lib/oxidized/config.rb
+++ b/lib/oxidized/config.rb
@@ -23,7 +23,7 @@ module Oxidized
CFGS.default.threads = 30
CFGS.default.timeout = 30
CFGS.default.prompt = /^([\w.@-]+[#>]\s?)$/
- CFGS.default.rest = '0.0.0.0:8888' # or false to disable
+ CFGS.default.rest = '127.0.0.1:8888' # or false to disable
CFGS.default.vars = {} # could be 'enable'=>'enablePW'
CFGS.default.groups = {} # group level configuration
CFGS.default.remove_secret = false # runs cmd(:secret) blocks if true