diff --git a/bin/unit_metrics.py b/bin/unit_metrics.py index 227139cf10b09..8ec2f5782f2e3 100644 --- a/bin/unit_metrics.py +++ b/bin/unit_metrics.py @@ -42,7 +42,7 @@ def application(environ, start_response): - connection = http.client.HTTPConnection("localhost:8081") + connection = http.client.HTTPConnection("localhost:8181") connection.request("GET", "/status") response = connection.getresponse() diff --git a/unit.json b/unit.json index 3d80936e14fb1..49541eb1f8e60 100644 --- a/unit.json +++ b/unit.json @@ -6,7 +6,7 @@ "*:8001": { "pass": "routes/metrics" }, - "*:8081": { + "*:8181": { "pass": "routes/status" } },