fix: Default sensor-proxy HTTP to 0.0.0.0:8443 for IPv4 binding

On systems with net.ipv6.bindv6only=1 (including some Proxmox 8
configurations), using ":8443" results in IPv6-only binding. Users
reported curl to 127.0.0.1:8443 hanging while [::1]:8443 worked.

Changed default from ":8443" to "0.0.0.0:8443" to explicitly bind IPv4.

Related to #805
This commit is contained in:
rcourtman 2025-12-03 20:25:08 +00:00
parent 0d3c9eb2a4
commit 7d733db3a8
3 changed files with 6 additions and 3 deletions

View file

@ -42,7 +42,7 @@ rate_limit:
# HTTPS mode (for remote nodes)
http_enabled: false
http_listen_addr: ":8443"
http_listen_addr: "0.0.0.0:8443" # Explicitly IPv4; use [::]:8443 for IPv6
http_tls_cert: "/etc/pulse-sensor-proxy/tls/server.crt"
http_tls_key: "/etc/pulse-sensor-proxy/tls/server.key"
http_auth_token: "" # Populated by installer; keep secret