mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 17:02:01 -05:00
[GH-ISSUE #453] Change the default 8080 port or use an environment variable #99060
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Alexandre-Fernandez on GitHub (Jan 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/453
When running the webui directly on the host with
--network=host, the port 8080 is troublesome because it's a very common port, for example phpmyadmin uses it.It would be nice to change the default port to 11435 or being able to change it with an environment variable.
For now I can't run the webui since the default docker run command doesn't work (Server connection error) and making it run on the host conflicts with phpmyadmin.
@anuraagdjain commented on GitHub (Jan 11, 2024):
I'm assuming you're using docker with
--network=host. I'm curious, why-p <new-port>:8080doesn't work?@anuraagdjain commented on GitHub (Jan 11, 2024):
I have this PR https://github.com/ollama-webui/ollama-webui/pull/454. Using
SERVER_PORTyou can modify the default port from 8080. Can you test ?@Alexandre-Fernandez commented on GitHub (Jan 11, 2024):
I tried to build the image but the build fails (Ubuntu 22.04).
@anuraagdjain commented on GitHub (Jan 11, 2024):
Didn't get any issue here. The build was successful 🤔 . Can you prune older images and retry?
@Alexandre-Fernandez commented on GitHub (Jan 11, 2024):
It's working
