Skip to content

Is it possible to use Ollama which is running on other local machines? #512

Answered by quantdev
kanoto asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to define the API_BASE_URL to use the remote Ollama server. ( Please replace <<REMOTE_HOST>> to your host IP or hostname.

API_BASE_URL=http://<<REMOTE_HOST>>:11434

Also I have to allow the ollama server to connect from a remote machine.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@kanoto
Comment options

Answer selected by kanoto
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants