[GH-ISSUE #2799] 尝试通过HTTP协议向本地主机的11434端口发送POST请求时,连接被远程主机强制关闭 #48205

Closed
opened 2026-04-28 07:10:08 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @dandandujie on GitHub (Feb 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2799

Originally assigned to: @dhiltgen on GitHub.

当我在windows终端运行ollama的模型时,打开聊天界面后问问题,它就会返回Error: Post "http://127.0.0.1:11434/api/chat": read tcp 127.0.0.1:51305->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host.我现在已经开放了11434和51305端口,问题没有解决,请问怎么办。下面是截图:
image

Originally created by @dandandujie on GitHub (Feb 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2799 Originally assigned to: @dhiltgen on GitHub. 当我在windows终端运行ollama的模型时,打开聊天界面后问问题,它就会返回Error: Post "http://127.0.0.1:11434/api/chat": read tcp 127.0.0.1:51305->127.0.0.1:11434: wsarecv: An existing connection was forcibly closed by the remote host.我现在已经开放了11434和51305端口,问题没有解决,请问怎么办。下面是截图: ![image](https://github.com/ollama/ollama/assets/142396650/a113077c-bf19-409e-bc76-bfc03c9af5b1)
GiteaMirror added the bug label 2026-04-28 07:10:08 -05:00
Author
Owner

@palfan23 commented on GitHub (Mar 4, 2024):

restart,重启下试试

<!-- gh-comment-id:1976019975 --> @palfan23 commented on GitHub (Mar 4, 2024): restart,重启下试试
Author
Owner

@dhiltgen commented on GitHub (May 2, 2024):

Please upgrade to the latest release 0.1.33 and if you're still seeing problems, please share the server log.

https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md

<!-- gh-comment-id:2091837520 --> @dhiltgen commented on GitHub (May 2, 2024): Please upgrade to the latest release 0.1.33 and if you're still seeing problems, please share the server log. https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md
Author
Owner

@jmorganca commented on GitHub (May 10, 2024):

Hi @dandandujie thanks for the issue. Will close this but do let @dhiltgen and I know if you're still seeing the issue!

<!-- gh-comment-id:2103680277 --> @jmorganca commented on GitHub (May 10, 2024): Hi @dandandujie thanks for the issue. Will close this but do let @dhiltgen and I know if you're still seeing the issue!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#48205