LocalAI icon indicating copy to clipboard operation
LocalAI copied to clipboard

Cannot force the app to start listening on ipv6 address

Open Szwendacz99 opened this issue 8 months ago • 0 comments

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"

Szwendacz99 avatar Jun 15 '24 19:06 Szwendacz99