LocalAI
LocalAI copied to clipboard
Cannot force the app to start listening on ipv6 address
LocalAI version: quay.io/go-skynet/local-ai:master-ffmpeg-core
Environment, CPU architecture, OS, and Version: kubernetes, v1.30.2
Describe the bug
I am not able to make the app listen on ipv6 address, it only listens on 0.0.0.0
To Reproduce
configure variable LOCALAI_ADDRESS=[::]:8080
or just LOCALAI_ADDRESS=:8080
.
Expected behavior The app listens also on ipv6.
Logs
When set LOCALAI_ADDRESS=[::1]:8080
, the app exits with error:
FTL Error running the application error="failed to listen: listen tcp4: address ::1: no suitable address found"