[GH-ISSUE #4005] curl: (7) Failed to connect to 172.16.105.65 port 11434 after 0 ms: Couldn't connect to server #2483

Closed
opened 2026-04-12 12:48:46 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @moye12325 on GitHub (Apr 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4005

What is the issue?

I have set up listening and port settings
image

And I can use it on my server
image
image

My local computer can access my remote server, and port 3306 can also be accessed, but port 11434 is not working. I have also checked the server's firewall and there is no problem

image

Could you help me? please please please

OS

Linux, Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.1.32

Originally created by @moye12325 on GitHub (Apr 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4005 ### What is the issue? **I have set up listening and port settings** ![image](https://github.com/ollama/ollama/assets/43414308/5e7adbf3-e29b-4fc2-9bae-490a82064cbf) **And I can use it on my server** ![image](https://github.com/ollama/ollama/assets/43414308/fde96efd-c4c4-4b04-8e17-ac6fdf8ea591) ![image](https://github.com/ollama/ollama/assets/43414308/066fda7b-7a60-4bd3-8e64-eee61b17ca28) **My local computer can access my remote server, and port 3306 can also be accessed, but port 11434 is not working. I have also checked the server's firewall and there is no problem** ![image](https://github.com/ollama/ollama/assets/43414308/f85c4053-1dd4-4244-9693-8b3519cabeb4) ## Could you help me? please please please ### OS Linux, Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.32
GiteaMirror added the bug label 2026-04-12 12:48:46 -05:00
Author
Owner

@moye12325 commented on GitHub (Apr 28, 2024):

image

<!-- gh-comment-id:2081512306 --> @moye12325 commented on GitHub (Apr 28, 2024): ![image](https://github.com/ollama/ollama/assets/43414308/923391b2-fb32-4b92-9f55-6ccfd4133e29)
Author
Owner

@moye12325 commented on GitHub (Apr 28, 2024):

sudo firewall-cmd --permanent --add-port=11434/tcp

I have set up a firewall and solved the problem

<!-- gh-comment-id:2081513610 --> @moye12325 commented on GitHub (Apr 28, 2024): sudo firewall-cmd --permanent --add-port=11434/tcp I have set up a firewall and solved the problem
Author
Owner

@0xp4tcher commented on GitHub (Nov 12, 2024):

I tried opening the port in my firewall but the error persists? any fix?

<!-- gh-comment-id:2470351757 --> @0xp4tcher commented on GitHub (Nov 12, 2024): I tried opening the port in my firewall but the error persists? any fix?
Author
Owner

@everythingIsShit commented on GitHub (Jan 7, 2025):

sudo firewall-cmd --permanent --add-port=11434/tcp

I have set up a firewall and solved the problem

image
I tried, but the problem still existing.

<!-- gh-comment-id:2574507549 --> @everythingIsShit commented on GitHub (Jan 7, 2025): > sudo firewall-cmd --permanent --add-port=11434/tcp > > I have set up a firewall and solved the problem ![image](https://github.com/user-attachments/assets/30fab072-d635-4380-b06c-e5e527feffcb) I tried, but the problem still existing.
Author
Owner

@nkozcode commented on GitHub (Jan 30, 2025):

I hae this same problem even after setitng up the firewall

<!-- gh-comment-id:2623738414 --> @nkozcode commented on GitHub (Jan 30, 2025): I hae this same problem even after setitng up 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#2483