Skip to content

Serve on custom port / remote server broken #6063

@gempir

Description

@gempir

Description

I've tried this on 3 different computers now. The frontend doesn't work for me anymore. I don't understand how this broke, because I used to have it working. But even reverting to older versions doesn't work.

The frontend seems to be "hardcoded" to send requests to
http://localhost:4096/global/health
http://localhost:4096/global/event

Which fail when the serve is either remote or a custom port is used.

OpenCode version

1.0.193

Steps to reproduce

  1. opencode serve -p 8075
  2. open http://127.0.0.1:8075

Screenshot and/or share link

Image

Operating System

macOS 26.2

Terminal

Alacritty

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions