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) }