Chris Lu 4 years ago
parent
commit
feca07bf96
  1. 2
      weed/command/filer.go

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

Loading…
Cancel
Save