diff --git a/tools/pd-ut/alloc/server.go b/tools/pd-ut/alloc/server.go index aced73467fb7..a56430011421 100644 --- a/tools/pd-ut/alloc/server.go +++ b/tools/pd-ut/alloc/server.go @@ -28,7 +28,7 @@ import ( "go.uber.org/zap" ) -var statusAddress = flag.String("status-addr", "0.0.0.0:20180", "status address") +var statusAddress = flag.String("status-addr", "0.0.0.0:0", "status address") func RunHTTPServer() *http.Server { err := os.Setenv(tempurl.AllocURLFromUT, fmt.Sprintf("http://%s/alloc", *statusAddress))