[GH-ISSUE #3520] [BUG]: Can't load available models from ollama #2270

Closed
opened 2026-02-22 18:28:55 -05:00 by yindo · 3 comments
Owner

Originally created by @chikkkit on GitHub (Mar 24, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3520

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Image
As shown in the picture, when I select ollama, it can't load available models from ollama. I've restarted the docker container a couple of times, but the problem is still not resolved. Do I need to provide any more detailed information?

Are there known steps to reproduce?

No response

Originally created by @chikkkit on GitHub (Mar 24, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3520 ### How are you running AnythingLLM? Docker (remote machine) ### What happened? ![Image](https://github.com/user-attachments/assets/d43f28d5-e51e-454c-9765-88686c9f8e53) As shown in the picture, when I select ollama, it can't load available models from ollama. I've restarted the docker container a couple of times, but the problem is still not resolved. Do I need to provide any more detailed information? ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:28:55 -05:00
yindo closed this issue 2026-02-22 18:28:55 -05:00
Author
Owner

@chikkkit commented on GitHub (Mar 24, 2025):

Image
I used ssh to connect to the remote server and then forwarded port 3001 to port 3001 on my local machine. ollama is using the default configuration which is configured on port 11434 and I tried curl access to the port to perform the function and the function is fine. My local machine is windows 11 and the server is ubuntu 20.04. i am building from the latest code.

@chikkkit commented on GitHub (Mar 24, 2025): ![Image](https://github.com/user-attachments/assets/d8fb8cc9-e6c3-4eb7-ac33-9be607785360) I used ssh to connect to the remote server and then forwarded port 3001 to port 3001 on my local machine. ollama is using the default configuration which is configured on port 11434 and I tried curl access to the port to perform the function and the function is fine. My local machine is windows 11 and the server is ubuntu 20.04. i am building from the latest code.
Author
Owner

@timothycarambat commented on GitHub (Mar 24, 2025):

https://docs.anythingllm.com/ollama-connection-troubleshooting

@timothycarambat commented on GitHub (Mar 24, 2025): https://docs.anythingllm.com/ollama-connection-troubleshooting
Author
Owner

@chikkkit commented on GitHub (Mar 25, 2025):

I've checked further according to the documentation, but still haven't found the problem
Image
I further checked ollama and found that port 11434 was open and it showed "Ollama is running". And all my programs run on the server, including docker, anythingllm's container and ollama.
Image
The address used was http://172.17.0.1:11434 (http://host.docker.internal:11434 was also tried), and localhost and 127.0.0.1 were not used. AnythingLLM also seems to recognize that port 11434 is running (if using 127.0 .0.1, it would show an error popup). I'm wondering if there's anything else I'm missing? Or any other possible issues not mentioned in the documentation?

@chikkkit commented on GitHub (Mar 25, 2025): I've checked further according to the documentation, but still haven't found the problem ![Image](https://github.com/user-attachments/assets/3d7ba8c2-9882-4229-82b9-5eaafe87d193) I further checked ollama and found that port 11434 was open and it showed "Ollama is running". And all my programs run on the server, including docker, anythingllm's container and ollama. ![Image](https://github.com/user-attachments/assets/0d4f5ad4-5d2b-425f-a674-4164b725ea1c) The address used was http://172.17.0.1:11434 (http://host.docker.internal:11434 was also tried), and localhost and 127.0.0.1 were not used. AnythingLLM also seems to recognize that port 11434 is running (if using 127.0 .0.1, it would show an error popup). I'm wondering if there's anything else I'm missing? Or any other possible issues not mentioned in the documentation?
yindo changed title from [BUG]: Can't load available models from ollama to [GH-ISSUE #3520] [BUG]: Can't load available models from ollama 2026-06-05 14:45:33 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2270