Open WebUI command not working on WSL #4567

Open
opened 2026-02-16 17:44:37 -05:00 by yindo · 17 comments
Owner

Originally created by @pablo-kitz on GitHub (Jan 9, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Im running arch linux in WSL and when launching the web ui from the command, it opens http://opencode.internal/ on the browser with the "This site can’t be reached" page.

Launching opencode web works just fine.

Plugins

No response

OpenCode version

1.1.10

Steps to reproduce

Run opencode in WSL
Run Open WebUI command

Screenshot and/or share link

No response

Operating System

Windows 11, Arch Linux WSL

Terminal

Alacritty

Originally created by @pablo-kitz on GitHub (Jan 9, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description Im running arch linux in WSL and when launching the web ui from the command, it opens http://opencode.internal/ on the browser with the "This site can’t be reached" page. Launching `opencode web` works just fine. ### Plugins _No response_ ### OpenCode version 1.1.10 ### Steps to reproduce Run opencode in WSL Run `Open WebUI` command ### Screenshot and/or share link _No response_ ### Operating System Windows 11, Arch Linux WSL ### Terminal Alacritty
yindo added the windowsbugweb labels 2026-02-16 17:44:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 9, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6941: [FEATURE]: WSL support connection and SSH forwarding - discusses WSL support needs for the desktop app
  • #5635: feat(desktop): Add option to run OpenCode backend via WSL on Windows - requests WSL backend support for the desktop app, which appears to be related to the 'Open WebUI' command not working on WSL

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 9, 2026): This issue might be a duplicate of existing issues. Please check: - #6941: [FEATURE]: WSL support connection and SSH forwarding - discusses WSL support needs for the desktop app - #5635: feat(desktop): Add option to run OpenCode backend via WSL on Windows - requests WSL backend support for the desktop app, which appears to be related to the 'Open WebUI' command not working on WSL Feel free to ignore if none of these address your specific case.
Author
Owner

@lclbm commented on GitHub (Jan 10, 2026):

same here, with opencode v1.1.11

@lclbm commented on GitHub (Jan 10, 2026): same here, with opencode v1.1.11
Author
Owner

@heddxh commented on GitHub (Jan 10, 2026):

Same here on my bare Arch Linux, I think it is not WSL related.

@heddxh commented on GitHub (Jan 10, 2026): Same here on my bare Arch Linux, I think it is not WSL related.
Author
Owner

@HustCoderHu commented on GitHub (Jan 10, 2026):

same here on my windows 10 (no wsl)

@HustCoderHu commented on GitHub (Jan 10, 2026): same here on my windows 10 (no wsl)
Author
Owner

@Makishima commented on GitHub (Jan 10, 2026):

same on macOS 26.2 (25C56)

@Makishima commented on GitHub (Jan 10, 2026): same on macOS 26.2 (25C56)
Author
Owner

@arpagon commented on GitHub (Jan 10, 2026):

same here in linux. installed whit bun

@arpagon commented on GitHub (Jan 10, 2026): same here in linux. installed whit bun
Author
Owner

@germanoeich commented on GitHub (Jan 10, 2026):

Same on Arch Linux, 1.1.12

@germanoeich commented on GitHub (Jan 10, 2026): Same on Arch Linux, 1.1.12
Author
Owner

@Altamimi-Dev commented on GitHub (Jan 11, 2026):

same on mac os 26.2 it opens
http://opencode.internal/ and not working
only way is to do opencode serve to run it manualy

@Altamimi-Dev commented on GitHub (Jan 11, 2026): same on mac os 26.2 it opens http://opencode.internal/ and not working only way is to do opencode serve to run it manualy
Author
Owner

@CoderXiaohui commented on GitHub (Jan 11, 2026):

same on macOS 15.3.2 ,1.1.13

@CoderXiaohui commented on GitHub (Jan 11, 2026): same on macOS 15.3.2 ,1.1.13
Author
Owner

@stark-bit commented on GitHub (Jan 12, 2026):

macOS - 15.7.2
OpenCode 1.1.14

@stark-bit commented on GitHub (Jan 12, 2026): macOS - 15.7.2 OpenCode 1.1.14
Author
Owner

@zbynekwinkler commented on GitHub (Jan 12, 2026):

Version 1.1.7 worked.

Is there a workaround?

@zbynekwinkler commented on GitHub (Jan 12, 2026): Version 1.1.7 worked. Is there a workaround?
Author
Owner

@kurob1993 commented on GitHub (Jan 13, 2026):

same on version 1.1.15

@kurob1993 commented on GitHub (Jan 13, 2026): same on version 1.1.15
Author
Owner

@zbynekwinkler commented on GitHub (Jan 13, 2026):

This just might be on purpose due to fixing https://cy.md/opencode-rce/ (https://news.ycombinator.com/item?id=46581095)

Previous versions of OpenCode started a server which allowed any website visited in a web browser to execute arbitrary commands on the local machine. Make sure you are using v1.1.10 or newer;

@zbynekwinkler commented on GitHub (Jan 13, 2026): This just might be on purpose due to fixing https://cy.md/opencode-rce/ (https://news.ycombinator.com/item?id=46581095) > Previous versions of OpenCode started a server which allowed any website visited in a web browser to execute arbitrary commands on the local machine. Make sure you are using v1.1.10 or newer;
Author
Owner

@zbynekwinkler commented on GitHub (Jan 13, 2026):

See also

@zbynekwinkler commented on GitHub (Jan 13, 2026): See also - #6355
Author
Owner

@kurumeii commented on GitHub (Jan 15, 2026):

Also with Wsl 2 fedora and Wezterm 🙇🙇🙇

@kurumeii commented on GitHub (Jan 15, 2026): Also with Wsl 2 fedora and Wezterm 🙇🙇🙇
Author
Owner

@heddxh commented on GitHub (Jan 16, 2026):

As workaround, explicitly specify host and port in config.

@heddxh commented on GitHub (Jan 16, 2026): As workaround, explicitly specify host and port in config.
Author
Owner

@ccsert commented on GitHub (Jan 26, 2026):

Currently, there do seem to be some issues with using Open WebUI within the TUI. If you must use the WebUI, you could try running opencode web in the terminal to access it via 127.0.0.1.

@ccsert commented on GitHub (Jan 26, 2026): Currently, there do seem to be some issues with using Open WebUI within the TUI. If you must use the WebUI, you could try running `opencode web` in the terminal to access it via 127.0.0.1.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4567