mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-20 11:22:31 -05:00
Merge pull request #5308 from dolthub/pavel/pprof-server-fix
Allow the pprof server to handle connections from non-localhost
This commit is contained in:
@@ -186,7 +186,7 @@ func runMain() int {
|
||||
cli.Println(cyanStar, " /trace: A trace of execution of the current program. You can specify the duration in the seconds GET parameter. After you get the trace file, use the go tool trace command to investigate the trace.")
|
||||
cli.Println()
|
||||
|
||||
err := http.ListenAndServe("localhost:6060", nil)
|
||||
err := http.ListenAndServe("0.0.0.0:6060", nil)
|
||||
|
||||
if err != nil {
|
||||
cli.Println(color.YellowString("pprof server exited with error: %v", err))
|
||||
|
||||
Reference in New Issue
Block a user