filer: listen on specified ip address

This commit is contained in:
Chris Lu 2019-04-24 00:01:39 -07:00
parent 21fe5bde7c
commit dabc9c9a89

View file

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