aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-24 00:01:39 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-24 00:01:39 -0700
commitdabc9c9a891b7b563ae17dbb4030ddecdde73483 (patch)
treebd1179ff20d5e77f40c5065b1dfad6345780e564 /weed/command/filer.go
parent21fe5bde7cf0e619b4d9f2b2a15f8541988a646b (diff)
downloadseaweedfs-dabc9c9a891b7b563ae17dbb4030ddecdde73483.tar.xz
seaweedfs-dabc9c9a891b7b563ae17dbb4030ddecdde73483.zip
filer: listen on specified ip address
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go2
1 files changed, 1 insertions, 1 deletions
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 {