-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[问题]: 连接内网部署的ollama api的问题 #1178
Comments
局域网权限问题,我来修 |
感谢~~ |
大家有空帮忙测试一下,找个局域网地址设置代理,看能否触发询问获取本地网络访问权限的弹窗(macOS) Windows 用户不用测试 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您的问题
在使用cherry-studio连接内网部署部署的ollama api时,如果api地址填写通过ssh转发的地址,比如http://localhost:8888/v1/ 或者 http://127.0.0.1:8888/v1/ , cherry-studio是可以成功调用api的。
但是如果我把地址换成直接访问内网地址,比如: http://192.168.2.111:31932/v1/ , cherry-studio就无法连接成功。我在本地执行
curl http://192.168.2.111:8888/api/version
是可以成功返回信息的,想请教一下如何解决这个问题?相关背景
我的ollama服务是在k8s集群上的一个pod中,已经设置了
export OLLAMA_HOST="0.0.0.0:8888"
补充信息
优先级
高 (阻碍工作进行)
The text was updated successfully, but these errors were encountered: