Skip to content

Run a Shared Server

A server holds one session; every client connected to it plays into that session. The flags are in the CLI reference; Sessions & Servers explains the model.

Terminal window
resonon server --name "studio"
[server] Listening on 127.0.0.1:5555

It listens on this machine only, on port 5555. Loopback-only servers do not send discovery beacons.

Bind explicitly to a network interface, or to every interface:

Terminal window
resonon server --host 0.0.0.0 --name "studio"

The loopback default limits direct network exposure. Local programs remain trusted: any local program that can connect can control the session. Explicit network binding has no authentication or encryption. Anyone who can reach the port can control the session; use only a trusted network. Loopback binding is not a complete security boundary against browser-origin connections.

Open the RESONON sidebar. Servers that the extension starts are tracked directly. For another loopback server, choose Add Server… and enter 127.0.0.1 and its port. Network-bound servers advertise to editors on the same machine; to join from another machine, add the server’s network address and port.

With several servers connected, Set as Active Server picks the one Cmd+Enter evaluates on.

Terminal window
resonon view routing --host 10.0.0.5 --port 5555

Leave out --host and --port to pick a discovered server from a list, or press Tab to enter an address. The Manual default is 127.0.0.1:5555.

Each client has a display name, shown in the status bar and next to its output. Set it with RESONON: Set Display Name or the resonon.client.name setting; without one, your system user name is used.

When several people evaluate at once, RESONON: Toggle Output Filter (Own / All) shows only your own output, or everyone’s.