Browse Source

filer: listen on specified ip address

pull/942/head
Chris Lu 6 years ago
parent
commit
dabc9c9a89
  1. 2
      weed/command/filer.go

2
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 {

Loading…
Cancel
Save