diff --git a/restagent/restagent.go b/restagent/restagent.go index 502e736..954862f 100644 --- a/restagent/restagent.go +++ b/restagent/restagent.go @@ -189,7 +189,7 @@ func main() { // 注册 pprof 路由 go func() { - http.ListenAndServe("localhost:6060", nil) + http.ListenAndServe("0.0.0.0:6060", nil) }() // 开启监控采集