Open WebUI command not working on WSL
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
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.
same here, with opencode v1.1.11
Same here on my bare Arch Linux, I think it is not WSL related.
same here on my windows 10 (no wsl)
same on macOS 26.2 (25C56)
same here in linux. installed whit bun
Same on Arch Linux, 1.1.12
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
same on macOS 15.3.2 ,1.1.13
macOS - 15.7.2 OpenCode 1.1.14
Version 1.1.7 worked.
Is there a workaround?
same on version 1.1.15
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;
See also
- #6355