mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
User can control the webserver listen address with `-app.http.address`. If they do, `scope --mode probe ...` should use the port part of address in the default target and not ':4040'. Otherwise we encounter a `dial tcp 127.0.0.1:4040: getsockopt: connection refused` error and `scope-probe` cannot report. Signed-off-by: Michael Schubert <michael@kinvolk.io>