commit | aa8bd4dcc3510caf2c5362106d9bff2852663d31 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Feb 28 13:40:58 2020 -0800 |
committer | khenaidoo Nursimulu <knursimu@ciena.com> | Fri Mar 06 13:38:51 2020 +0000 |
tree | c7fb2df9a55ac2c81399c4c5954d3221caec68e7 | |
parent | 32836733490acc62dc876f0893311af9f838bd06 [diff] |
Expose PProf webserver outside the container Change-Id: Iaa748b3e134af586a9afe032c4c1626ac4778fac
diff --git a/rw_core/profile.go b/rw_core/profile.go index 31e7068..9b955b0 100644 --- a/rw_core/profile.go +++ b/rw_core/profile.go
@@ -26,7 +26,7 @@ func realMain() { go func() { - log.Infoln(http.ListenAndServe("localhost:6060", nil)) + log.Infoln(http.ListenAndServe("0.0.0.0:6060", nil)) }() }