ConnectError #7

Closed
opened 2026-02-15 16:27:24 -05:00 by yindo · 1 comment
Owner

Originally created by @morteza-rp on GitHub (Jan 25, 2024).

what should i do?
ConnectError: [WinError 10061] No connection could be made because the target machine actively refused it

Originally created by @morteza-rp on GitHub (Jan 25, 2024). what should i do? ConnectError: [WinError 10061] No connection could be made because the target machine actively refused it
yindo closed this issue 2026-02-15 16:27:25 -05:00
Author
Owner

@mxyng commented on GitHub (Jan 25, 2024):

It seems ollama is either not running or the client isn't configured to use a non-default host value. The default is http://127.0.0.1:11434

This library needs a running ollama instance. If one is running on a non-default host or port, you can configure the library by either creating a custom client ollama.Client(host='') or by setting OLLAMA_HOST

@mxyng commented on GitHub (Jan 25, 2024): It seems ollama is either not running or the client isn't configured to use a non-default host value. The default is `http://127.0.0.1:11434` This library needs a running ollama instance. If one is running on a non-default host or port, you can configure the library by either creating a custom client `ollama.Client(host='')` or by setting OLLAMA_HOST
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#7