mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
filer: listen on specified ip address
This commit is contained in:
parent
21fe5bde7c
commit
dabc9c9a89
|
@ -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)
|
glog.V(0).Infof("Start Seaweed Filer %s at %s:%d", util.VERSION, *fo.ip, *fo.port)
|
||||||
filerListener, e := util.NewListener(
|
filerListener, e := util.NewListener(
|
||||||
":"+strconv.Itoa(*fo.port),
|
*fo.ip+":"+strconv.Itoa(*fo.port),
|
||||||
time.Duration(10)*time.Second,
|
time.Duration(10)*time.Second,
|
||||||
)
|
)
|
||||||
if e != nil {
|
if e != nil {
|
||||||
|
|
Loading…
Reference in a new issue