Atinoda/text-generation-webui-docker

Can not access WebUI

Closed this issue · 2 comments

Running the default build on Windows Docker with WSL2 Ubuntu 24.04. I'm unable to access the UI at http://127.0.0.1:7860
Log shows:
2024-06-06 13:34:17 === Running text-generation-webui variant: 'Nvidia Extended' abe5ddc8833206381c43b002e95788d4cca0893a ===
2024-06-06 13:34:18 === (This version is 0 commits behind origin main) ===
2024-06-06 13:34:18 === Image build date: 2024-06-04 21:34:25 ===
2024-06-06 13:34:21 20:34:21-479491 INFO Starting Text generation web UI
2024-06-06 13:34:22
2024-06-06 13:34:22 Running on local URL: http://127.0.0.1:7860
2024-06-06 13:34:22

Hi @dingho, the good news is that it looks like the container is running fine.

I don't use WSL2 often - but I know that the networking is a bit more complicated. The IP address you want is not 127.0.0.1 - Windows will have assigned the Linux VM its own IP. Google or ChatGPT can help you find what that IP is, or there may be a way to forward the port. Once you know it, trying navigating to http://<IP>:7860. If it still doesn't work then you need to look at the Windows firewall.

As an alternative, Docker Desktop may be more straightforward - but I don't have the experience with it to offer you advice. Perhaps another Windows user can suggest something?

I agree this seems to be a Windows networking issue.