aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/command/filer.go2
-rw-r--r--weed/command/server.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index eb7078a9d..0f1e63df6 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -126,7 +126,7 @@ var cmdFiler = &Command{
func runFiler(cmd *Command, args []string) bool {
if *f.debug {
- go http.ListenAndServe("localhost:6060", nil)
+ go http.ListenAndServe(":6060", nil)
}
util.LoadConfiguration("security", false)
diff --git a/weed/command/server.go b/weed/command/server.go
index 83aa5e84c..19fe8607b 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -143,7 +143,7 @@ func init() {
func runServer(cmd *Command, args []string) bool {
if *serverOptions.debug {
- go http.ListenAndServe("localhost:6060", nil)
+ go http.ListenAndServe(":6060", nil)
}
util.LoadConfiguration("security", false)