Can't connect localhost:8080

After installing WritingTool for LibreOffice, I have installed LocalAI.

I can get to LocalAI with my browser, localhost:8080, but WritingTool can’t connect to it.

Any help will be appreciated.

can you do curl http://localhost:8080/v1/models?
to make sure if LocalAI is working.

{"object":"list","data":[{"id":"tts-1","object":"model"},{"id":"silero-vad","object":"model"},{"id":"jina-reranker-v1-base-en","object":"model"},{"id":"gpt-4","object":"model"},{"id":"text-embedding-ada-002","object":"model"},{"id":"whisper-1","object":"model"},{"id":"stablediffusion","object":"model"},{"id":"gpt-4o","object":"model"},{"id":"minicpm-v-2_6-mmproj-f16.gguf","object":"model"}]}

It is running on Podman, and I can visit localhost with my browser.

But again, WritingTool can’t connect. In case people misunderstood what I meant

does WritingTool has permission in firewall?