[GH-ISSUE #6571] Impossible to connect to ollama locally from another pc #50648

Closed
opened 2026-04-28 16:44:26 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Wilnox23 on GitHub (Aug 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6571

What is the issue?

Hello, I'm using ollama on windows but I can't connect to the server from another PC on the local network.
I have already changed the following system environment variables.
OLLAMA_HOST=0.0.0.0
OLLAMA_ORIGINS=*
Thank you for your assistance.

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.3.8

Originally created by @Wilnox23 on GitHub (Aug 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6571 ### What is the issue? Hello, I'm using ollama on windows but I can't connect to the server from another PC on the local network. I have already changed the following system environment variables. `OLLAMA_HOST=0.0.0.0` `OLLAMA_ORIGINS=*` Thank you for your assistance. ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.3.8
GiteaMirror added the bug label 2026-04-28 16:44:26 -05:00
Author
Owner

@rick-github commented on GitHub (Aug 30, 2024):

Any firewall or anti-virus software installed? What error does the client give? What does netstat -nq | findstr 11434 show?

<!-- gh-comment-id:2322184702 --> @rick-github commented on GitHub (Aug 30, 2024): Any firewall or anti-virus software installed? What error does the client give? What does `netstat -nq | findstr 11434` show?
Author
Owner

@Wilnox23 commented on GitHub (Aug 30, 2024):

curl 192.168.1.194:11434
curl: (28) Failed to connect to 192.168.1.194 port 11434 after 21069 ms: Couldn't connect to server

netstat -nq | findstr 11434
TCP 0.0.0.0:11434 0.0.0.0:0 LISTENING
TCP 192.168.1.194:11434 0.0.0.0:0 LISTENING
TCP [::]:11434 [::]:0 LISTENING

<!-- gh-comment-id:2322284123 --> @Wilnox23 commented on GitHub (Aug 30, 2024): curl 192.168.1.194:11434 curl: (28) Failed to connect to 192.168.1.194 port 11434 after 21069 ms: Couldn't connect to server netstat -nq | findstr 11434 TCP 0.0.0.0:11434 0.0.0.0:0 LISTENING TCP 192.168.1.194:11434 0.0.0.0:0 LISTENING TCP [::]:11434 [::]:0 LISTENING
Author
Owner

@rick-github commented on GitHub (Aug 30, 2024):

This looks like a firewall issue. ollama is listening on the right port, but the connection timed out after 21 seconds. This has the hallmarks of a firewall rule dropping TCP SYN packets.

<!-- gh-comment-id:2322320768 --> @rick-github commented on GitHub (Aug 30, 2024): This looks like a firewall issue. ollama is listening on the right port, but the connection timed out after 21 seconds. This has the hallmarks of a firewall rule dropping TCP SYN packets.
Author
Owner

@Wilnox23 commented on GitHub (Aug 30, 2024):

Thanks you rick-github
curl 192.168.1.194:11434
Ollama is running

Thank you because at the time it worked but after an update from ollama it was broken so I didn't think about the firewall.

<!-- gh-comment-id:2322342695 --> @Wilnox23 commented on GitHub (Aug 30, 2024): Thanks you rick-github curl 192.168.1.194:11434 Ollama is running Thank you because at the time it worked but after an update from ollama it was broken so I didn't think about the firewall.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#50648