Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues connecting #5

Closed
almostserious opened this issue Jun 1, 2024 · 3 comments
Closed

Issues connecting #5

almostserious opened this issue Jun 1, 2024 · 3 comments

Comments

@almostserious
Copy link

Might be just my issue, and im missing smth obvious but i simply cannot connect to the host.
Im using the ollama docker and have forwarded the port 0.0.0.0:11434 -> 11434/tcp so it listens on the host. But whatever I do i cannot get the host to connect.
Any pointers on what i am doing wrong? Would love to give this app a try vs the openwebui.

@JHubi1
Copy link
Owner

JHubi1 commented Jun 1, 2024

Hi there. Ollama restricts the hosts that can connect by default. As discussed in this Ollama issue, you have to set the environment variable OLLAMA_HOST to 0.0.0.0 or use something like a tunneling software.

@almostserious
Copy link
Author

Thanks i saw this but the original fix for docker didnt work for me. Setting the Environmental Variable did work though, thanks.
In case somebody else looking what to add to docker run command: -e OLLAMA HOST="0.0.0.0"

@JHubi1
Copy link
Owner

JHubi1 commented Jun 1, 2024

I'll mark this as close. If you have any other issues, feel free to open another issue. If you have further questions on this one, you can reopen it.

@JHubi1 JHubi1 closed this as completed Jun 1, 2024
@JHubi1 JHubi1 pinned this issue Jun 8, 2024
This was referenced Jun 9, 2024
Repository owner locked and limited conversation to collaborators Jul 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants