Skip to content

Commit 0299fd1

Browse files
authored
Merge pull request #817 from kittrydge/patch-1
Update Linux ollama instructions in README.md
2 parents cf8dec5 + ccd89d4 commit 0299fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ If you're encountering an Ollama connection error, it is likely due to the backe
135135

136136
3. **Linux Users - Expose Ollama to Network:**
137137

138-
- Inside `/etc/systemd/system/ollama.service`, you need to add `Environment="OLLAMA_HOST=0.0.0.0"`. Then restart Ollama by `systemctl restart ollama`. For more information see [Ollama docs](https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-linux)
138+
- Inside `/etc/systemd/system/ollama.service`, you need to add `Environment="OLLAMA_HOST=0.0.0.0:11434"`. (Change the port number if you are using a different one.) Then reload the systemd manager configuration with `systemctl daemon-reload`, and restart Ollama by `systemctl restart ollama`. For more information see [Ollama docs](https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-linux)
139139

140140
- Ensure that the port (default is 11434) is not blocked by your firewall.
141141

0 commit comments

Comments
 (0)