feat: change default bind address to :: for dual‑stack support

The socket bound to :: accepts both IPv6 and IPv4 (mapped) connections,
so this change enables IPv6 connectivity in addition to the existing
IPv4 behaviour.
This commit is contained in:
Oliver Papst
2026-01-10 22:36:31 +01:00
parent 4dc99b4a84
commit bc3eba5bf7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ pub type ApiResult<T, E = ApiErrorResponse> = std::result::Result<T, E>;
pub async fn start_http_server() -> BichonResult<()> {
let listener = TcpListener::bind((
SETTINGS.bichon_bind_ip.clone().unwrap_or("0.0.0.0".into()),
SETTINGS.bichon_bind_ip.clone().unwrap_or("::".into()),
SETTINGS.bichon_http_port as u16,
));