|
@ -152,7 +152,7 @@ func (fo *FilerOptions) startFiler() { |
|
|
|
|
|
|
|
|
// starting grpc server
|
|
|
// starting grpc server
|
|
|
grpcPort := *fo.port + 10000 |
|
|
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 { |
|
|
if err != nil { |
|
|
glog.Fatalf("failed to listen on grpc port %d: %v", grpcPort, err) |
|
|
glog.Fatalf("failed to listen on grpc port %d: %v", grpcPort, err) |
|
|
} |
|
|
} |
|
|