update service addr

This commit is contained in:
450705171@qq.com 2022-12-05 15:22:11 +08:00
parent 730c5272c0
commit 7eaa77a5e4
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func main() {
// logger.Sugar().Fatal 直接可以少几行判错的代码
logger.Sugar().Fatal(server.RunGRPCServer(&server.GRPCConfig{
Name: "pcm_slurm",
Addr: "localhost:8881",
Addr: "0.0.0.0:8881",
RegisterFunc: func(g *grpc.Server) {
slurmTianhe.RegisterSlurmServiceServer(g, &slurmserver.Server{})
},