Skip to content

Commit

Permalink
Fix port clash
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Nov 24, 2023
1 parent bf45347 commit d74bbde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/unit_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion unit.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"*:8001": {
"pass": "routes/metrics"
},
"*:8081": {
"*:8181": {
"pass": "routes/status"
}
},
Expand Down

0 comments on commit d74bbde

Please sign in to comment.