{"version":"2.1.335","anchor":"self-hosted-runner-health-host-option-for-healthz-and-m","canonical_anchor":"self-hosted-runner-health-host-option-for-healthz-and-m","heading":"Self-hosted runner help now explains --health-host and what \/healthz returns","tier":"use","area":"Self-Hosted Runner","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/self-hosted-runner-health-host-option-for-healthz-and-m","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Self-hosted runner help now explains --health-host and what \/healthz returns\n\nThe runner's help now documents `--health-host 127.0.0.1` to limit who can reach \/healthz and \/metrics, which need no password\n\n**What**\n\nThe self-hosted runner's help text now documents `--health-host`. Before, only `--health-port` was documented. The help gives `--health-host 127.0.0.1` as the way to restrict who can open \/healthz and \/metrics, the addresses used to check whether the runner is alive and to read its figures.\n\n- `--health-host`: these pages take no password, and by default they listen on every network interface, so anyone who can reach the machine can open them.\n\n- `--health-port`: the help now also says \/healthz always returns 200, the code for success.\n\n**Why**\n\nSetting the host to 127.0.0.1 keeps these unprotected pages reachable only from the machine itself, which limits who can see them.\n\n- Area: Self-Hosted Runner\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}