ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: Fail to access model(deepseek-r1:14b).**ERROR**: [Errno 111] Connection refused

Open wongvio opened this issue 9 months ago • 6 comments

Describe your problem

Image Image Image Image

The ollama service has been enabled and can be used normally in Lobechat. The model name is correct, but there is a error : Fail to access model(deepseek-r1:14b).ERROR: [Errno 111] Connection refused

wongvio avatar Feb 20 '25 07:02 wongvio

Try: 172.17.0.1

KevinHuSh avatar Feb 21 '25 03:02 KevinHuSh

https://blog.csdn.net/chengxuquan/article/details/142449545 我根据这篇文章修改成可以允许外部访问 就可以连接成功了(但是聊天功能好像不能用)

rescheni avatar Feb 21 '25 13:02 rescheni

I also encounter this issue. Is there any solutions?

Remember12344 avatar Feb 21 '25 14:02 Remember12344

I also encounter this issue. Is there any solutions?

Did you install the full version? I opened ollama's external access before, and I can add it to the website normally, but I can't use LLM normally. Later, I installed the full version of the web, which can be added and used normally. My method can be used for your reference.

rescheni avatar Feb 24 '25 00:02 rescheni

I also encounter this issue. Is there any solutions?

Did you install the full version? I opened ollama's external access before, and I can add it to the website normally, but I can't use LLM normally. Later, I installed the full version of the web, which can be added and used normally. My method can be used for your reference.

I also solve this problem via adding environment variable(0.0.0.0:11434)

Remember12344 avatar Feb 24 '25 10:02 Remember12344

URL:http://host.docker.internal:11434

jinzhonglin avatar Feb 26 '25 10:02 jinzhonglin

URL:http://host.docker.internal:11434

this works

HEYBOY789 avatar Mar 19 '25 10:03 HEYBOY789

This is a big problem because other agents can easily automatically recognize local ollama, but ragflow is so cumbersome

ouyang7923 avatar Mar 21 '25 01:03 ouyang7923

亲身体验成功:windows环境,早前安装好的ollama,开放防火墙[11434]端口,查看宿主机ip比如 192.168.1.103,进入 ragflow容器内尝试 telnet 192.168.1.103 11434,可以联通就不会再有问题

Image

ouyang7923 avatar Mar 21 '25 01:03 ouyang7923