[GH-ISSUE #10221] feat: Easier way to use IPv6 or IPv4/IPv6 for web server port #31343

Closed
opened 2026-04-25 05:19:21 -05:00 by GiteaMirror · 0 comments
Owner

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!

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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#31343