mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-09 11:45:57 -05:00
[GH-ISSUE #10221] feat: Easier way to use IPv6 or IPv4/IPv6 for web server port #31343
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 @unquietwiki on GitHub (Feb 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10221
Running Open-WebUI in a Virtualenv sandbox, I notice that the default network socket opens up on an IPv4-only "any" address. If I edit /srv/openwebui/lib/python3.11/site-packages/open_webui/init.py to replace the host: str address with "::" instead of "0.0.0.0", I can successfully access the web interface over IPv6; I don't expect this change to persist through upgrades, however. An easier way to set this would be most welcome. Thanks!