Introduction
An internal status page works on the loopback interface but should listen on every IPv4 interface. Its port and page content are already correct.
The preceding networking lab practiced inspecting listeners with ss, testing HTTP with curl, and reading service configuration. This challenge changes only the bind address.
Make the Status Page Listen on All IPv4 Interfaces
Current Situation
labex-status-page.service is active on TCP port 8090, but it listens only on 127.0.0.1. Its configuration is /etc/labex-status-page.conf.
Scope
- Change only
BIND_ADDRESS. - Keep port
8090and the existing page content. - Restart only
labex-status-page.service.
Your Goal
Leave the status page listening on 0.0.0.0:8090 and still returning internal status ready.
Acceptance Criteria
labex-status-page.serviceis active.ssshows an IPv4 listener on0.0.0.0:8090.curl http://127.0.0.1:8090/returns content containinginternal status ready.
Hints
How can I compare the current and required state?
Inspect port 8090 with ss, read the named configuration file, then restart the service after changing the bind value.
Summary
You corrected one service bind address and verified both the listener and preserved HTTP response.



