From feca07bf96312655c5d41cfce93f916d576bf644 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 16 Sep 2020 10:26:08 -0700 Subject: [PATCH] Filer: ip bind fix https://github.com/chrislusf/seaweedfs/issues/1470 --- 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 c36c43e93..a6670b063 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -152,7 +152,7 @@ func (fo *FilerOptions) startFiler() { // starting grpc server grpcPort := *fo.port + 10000 - grpcL, err := util.NewListener(":"+strconv.Itoa(grpcPort), 0) + grpcL, err := util.NewListener(*fo.bindIp+":"+strconv.Itoa(grpcPort), 0) if err != nil { glog.Fatalf("failed to listen on grpc port %d: %v", grpcPort, err) }