From dabc9c9a891b7b563ae17dbb4030ddecdde73483 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 24 Apr 2019 00:01:39 -0700 Subject: [PATCH] filer: listen on specified ip address --- weed/command/filer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/filer.go b/weed/command/filer.go index 4d6858cda..d82781765 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -130,7 +130,7 @@ func (fo *FilerOptions) startFiler() { glog.V(0).Infof("Start Seaweed Filer %s at %s:%d", util.VERSION, *fo.ip, *fo.port) filerListener, e := util.NewListener( - ":"+strconv.Itoa(*fo.port), + *fo.ip+":"+strconv.Itoa(*fo.port), time.Duration(10)*time.Second, ) if e != nil {