Skip to content

How to open web services in your browser

A workspace can serve web apps from the VM, and you open them in a browser on the host over HTTPS. A plain http:// request to a route is redirected to its https:// URL. jailoc up, jailoc reload and jailoc down manage the local proxy in the background automatically. They never change your host's DNS, trust store or firewall. The one-time host setup, jailoc proxy install, does, and only after you confirm each change.

The examples use a workspace named demo with a proxy route foo. Its address is https://foo.demo.jailoc.local. The workspace itself answers at https://demo.jailoc.local/ with 200 OK and the body OK.

Configure proxy routes

[workspaces.demo]
paths = ["~/projects/demo"]

[workspaces.demo.proxy]
foo = 3000
admin = { port = 8080, auth = true }
legacy = { port = 9000, https_redirect = false }
  • Each proxy entry maps a route name to a guest port (or { port = <port>, auth = <bool>, https_redirect = <bool> }). The route is served at https://<name>.<workspace>.jailoc.local, with :<https_port> appended when https_port isn't 443.
  • By default (auth = false), routes require no login code. Setting auth = true on a route (or in [workspaces.<name>.proxy] / [defaults.proxy]) gates it behind a one-time login code and a __Host-jailoc session cookie.
  • By default (https_redirect = true), a plain-HTTP GET or HEAD to the route's host answers 307 with the route's HTTPS URL, keeping the path and query. https_redirect = false on a route opts it out: plain HTTP to it gets 421. Like auth, it is set per route, at [workspaces.<name>.proxy] or in [defaults.proxy], and the most specific value wins. The redirect never reaches the route's login or the app; other methods get 405.
  • The workspace name and every route name must be a lowercase DNS label (a-z, 0-9, -).

Guest port 6081 (the proxy relay) is reserved in every workspace, with or without routes. ports and host_ports can't use it, and a proxy route can't target a port that host_ports or ports also lists. See proxy. A workspace with desktop.enable also gets the reserved route desktop; see Desktop.

Choose the browser ports

The top-level [proxy] table sets the three host ports of the proxy. All are optional:

[proxy]
http_port = 80
https_port = 443
dns_port = 5399
Key Default Used by
http_port 80 The port browsers use for plain HTTP, and the loopback port that receives the redirect: bound by the listener broker, or by the proxy itself when it runs standalone
https_port 443 The port browsers use for HTTPS, and the loopback port that serves it: bound by the listener broker, or by the proxy itself when it runs standalone
dns_port 5399 The loopback port of the proxy's DNS responder for jailoc.local names. The proxy binds it itself as your user, with or without the broker. Must differ from http_port and https_port

A port other than its default appears in every URL: with https_port = 8081, a route is https://foo.demo.jailoc.local:8081, and the proxy accepts only that authority and Origin. See proxy in the configuration reference for validation.

The listener broker has to be installed to serve the default 80 and 443: only a root service can bind them. A proxy without the broker binds the same ports as your user, so pick ports it can bind, such as http_port = 8080 and https_port = 8081; see Set up the host manually.

dns_port is unprivileged and needs no broker. When another process already uses it, the proxy prints a warning and keeps serving HTTP and HTTPS; in resolver mode the names then don't resolve until the port is free and the proxy restarts.

Apply changes

Change Needed
Adding, renaming or removing a route, changing a route's port, auth or https_redirect jailoc reload for the workspace
Adding a workspace or a route, when names resolve through the DNS responder (macOS, or Linux with the jailoc0 link) Nothing else: the responder answers every name under jailoc.local
Adding a workspace or a route, when names come from the /etc/hosts block jailoc proxy install again
Changing http_port, https_port or dns_port with the listener broker jailoc proxy install again to rewrite the broker service and the resolver file or link, then jailoc proxy: it notices the changed ports and restarts a running proxy on them
Changing http_port, https_port or dns_port without the broker jailoc proxy stop, then start the proxy again. A manual resolver file or link needs the new dns_port too

jailoc reload replaces the guest relay allowlist and updates the background proxy, so a new route works without ending sessions. Connections through a removed route's port are closed.

VMs started by an older jailoc

A VM started by a jailoc release whose guest protocol predates live proxy reloads needs jailoc restart once for any route change. Until then it keeps serving the ports of its proxy routes, even after you remove proxy from the configuration, and those ports stay reserved: jailoc reload rejects a host_ports or ports entry that uses one, and asks for jailoc restart first.

How the proxy starts

jailoc up and jailoc restart automatically start or update the background HTTPS proxy when a workspace has proxy routes, jailoc reload applies route changes, and jailoc down drops the workspace's routes (stopping the proxy when no proxy workspaces remain). jailoc status shows the running proxy and its route URLs.

  • jailoc creates a local CA in ~/.local/share/jailoc/proxy and reuses it: a root certificate (ca.crt, the one you trust) and an intermediate that signs a leaf certificate (cert.crt) covering <workspace>.jailoc.local and *.<workspace>.jailoc.local for every proxy workspace. It issues a new leaf when a workspace is added or the leaf is close to expiry. There is no option to supply your own certificate.
  • The root and the intermediate both carry a critical name constraint: they can only vouch for names under jailoc.local and no IP addresses.
  • With the listener broker installed, the proxy serves the broker's http_port and https_port (80 and 443 by default); the broker, which runs as root, owns the reserved ports and hands connections to the proxy over a Unix socket. Without it, the proxy runs standalone and binds 127.0.0.1 on the same http_port (plain-HTTP redirect) and https_port (HTTPS) itself, so the ports must be ones your user can bind; see Set up the host manually. jailoc proxy --listen overrides only the HTTPS bind address. jailoc proxy status shows the proxy, and jailoc proxy stop stops it.
  • The proxy also runs a DNS responder on 127.0.0.1:<dns_port> (5399 by default), as your user. It answers jailoc.local and every name below it with loopback addresses, whichever workspaces run, and nothing else. The resolver setup of jailoc proxy install sends only jailoc.local queries to it, so those names resolve while the background proxy runs, which is while proxy workspaces run. See Name resolution.
  • https://<workspace>.jailoc.local/, the bare workspace name, answers GET and HEAD of / with 200 OK and the body OK when the proxy serves the workspace. Other paths return 404, other methods 405.
  • Routes close when a workspace VM stops or is replaced.

  • Open <origin>/.jailoc/login, for example https://foo.demo.jailoc.local/.jailoc/login.

  • Enter the login code that jailoc up printed for the route. The page posts it to the same origin.

A code works once and expires 10 minutes after the proxy starts. A successful login sets a __Host- cookie that lasts 8 hours. Every request must carry the route's Host and a matching TLS server name. A GET or HEAD needs no Origin header, but one that is present must be exactly the route's origin. Every other method, and every WebSocket upgrade, requires that exact Origin; cross-site requests are refused. Open the route on https_port: without a port when it is 443, otherwise with :<https_port>. Any other port is rejected.

To keep one route from planting Domain=jailoc.local cookies on another, the proxy rewrites every upstream Set-Cookie name <name> to __Host-jailoc-<host>-<name> (with Path=/, Secure and no Domain), unwraps that prefix back to <name> on incoming Cookie headers, and drops any cookie without the route's __Host-jailoc-<host>- prefix. HTTP-only session cookies need no application change; client-side scripts that read a server-set cookie (for example a double-submit CSRF token) or write a cookie for the upstream via document.cookie must address it as `__Host-jailoc-${location.hostname}-<name>` with ; Path=/; Secure and no Domain attribute.

Service workers and origin reuse

The proxy doesn't support service workers. It answers every service worker script fetch with 403 and adds worker-src blob: to every response, next to any policy the guest sends, so a page can't install or update a worker through the proxy. Browsers only register service workers from http and https script URLs, so the policy still allows dedicated and shared workers that a page builds from blob: URLs, such as the video decoders of browser desktop streamers. Workers loaded from a script URL (new Worker('/worker.js')) are blocked.

That can't undo a worker that is already installed. A route name such as foo.demo.jailoc.local is stable: a later VM, or a different guest service, can be served on the same origin. A root-scoped service worker that an earlier guest installed on that origin, for example over plain HTTP or through another proxy, stays registered in your browser and can intercept requests to the proxy, including the /.jailoc/login form post. The proxy can't stop a worker that already controls the page.

Before you use the proxy on a development origin you have used before:

  1. Unregister every service worker for the origin, in the browser's developer tools under Application, Service Workers.
  2. Clear the site data for the origin (storage, caches and cookies).
  3. Treat an origin you can't clean the same way as an untrusted one, and use a new route name.

jailoc doesn't clear browser state for you. Browser behaviour across restarts and VM replacement hasn't been checked in a real browser yet; that check must pass before this feature is merged.

The proxy reaches the guest through a private socket (proxy.sock) on the host and the guest's proxy relay; nothing is published on the host except the listener you chose. See Security Boundaries.

Set up the host

Browsers must reach https://<name>.<workspace>.jailoc.local on https_port (443 by default), plain HTTP on http_port (80 by default), resolve the names to loopback and trust the proxy certificate. Choose one of two setups, then verify it:

Setup Command Ports & URLs Host changes
Install the host setup (recommended) jailoc proxy install (once, asks for sudo), then jailoc up 80/443 — portless URLs (https://foo.demo.jailoc.local/) Root listener broker service, name resolution for jailoc.local (resolver file, jailoc0 link or /etc/hosts block), OS and browser CA trust
No system service Set unprivileged ports in [proxy], then jailoc proxy (or jailoc proxy --foreground for no background daemon) e.g. 8080/8081 — port in URL (https://foo.demo.jailoc.local:8081/) No root service; manual name resolution and CA trust for browsers (none needed for curl --cacert --resolve)

Keep the proxy CA private

jailoc creates the CA the first time a proxy starts. The root key signs the intermediate once and is never written to disk. The intermediate key, ~/.local/share/jailoc/proxy/intermediate.key, stays on the host so jailoc can issue leaves for new workspaces.

The CA is a trust anchor

The intermediate's name constraint applies in every client that checks the chain, so its key can only mint certificates for names under jailoc.local. Still keep it private: anyone holding it can impersonate every route. jailoc rejects paths, mounts and snapshots that contain ~/.local/share/jailoc, and refuses to start the proxy when its CA directory overlaps a shared path, through a symlink as well, or a share a running VM booted with. Run jailoc proxy uninstall when you stop using the proxy, so the CA leaves your trust stores.

Install the host setup

jailoc proxy install

The command lists the planned changes and asks once for confirmation before it makes them. Pass --yes (-y) to skip the confirmation prompt. The privileged changes need administrator rights (sudo), so review them before you confirm. It does three things:

Change macOS Linux
Installs the embedded jailoc-listener-broker as a root-owned service that holds 127.0.0.1 and [::1] on http_port and https_port (80 and 443 by default) and hands each accepted connection to your proxy over a private Unix socket /Library/PrivilegedHelperTools/jailoc-listener-broker, run by the cz.seznam.jailoc.listener-broker LaunchDaemon /usr/local/libexec/jailoc-listener-broker, run by the jailoc-listener-broker.service systemd unit
Sets up name resolution for jailoc.local, as described in Name resolution /etc/resolver/jailoc.local The jailoc0 link with systemd-resolved, otherwise the /etc/hosts block
Trusts ca.crt in the OS trust store and in the NSS databases of Chrome, Chromium and Firefox your login keychain (~/Library/Keychains/login.keychain-db), Firefox profiles Debian, Ubuntu, Fedora, RHEL and Arch system trust stores, ~/.pki/nssdb, Firefox profiles

The broker service starts at boot and restarts when it exits. It holds no certificate and parses no HTTP, and only your user can attach a proxy to it, one proxy at a time. Connections reach the proxy over the Unix socket; there is no TCP hop between the broker and the proxy. When names resolve through the jailoc0 link, the same root service creates and removes that link and does nothing else for DNS. In /etc/hosts mode, lines outside the block stay as they are.

Run jailoc proxy install again after you change http_port, https_port or dns_port, because the ports are part of the broker service and of the resolver file or link; a broker that serves other ports than the configuration is refused until you do. In /etc/hosts mode, run it also after you add a workspace or a proxy route, to update the block. jailoc proxy status checks the listener broker, the CA certificate and the name resolution.

jailoc imports the CA from a copy of the one certificate it validated, and refuses a ca.crt that holds anything else. A certificate that is already in the Linux system store or in an NSS database, without a record in install.json that jailoc proxy install added it, stays as it is: jailoc neither changes nor takes it over, and jailoc proxy uninstall leaves it in place. jailoc proxy status lists a store as verified only when it looked at it: the Linux system store, by the certificate file. The macOS keychain and the NSS databases show as recorded by jailoc proxy install, not verified, which means install.json says install added the CA there.

Once the broker is installed, jailoc up, jailoc restart and jailoc proxy attach to it automatically.

NSS databases need certutil

jailoc adds the CA to the NSS databases with certutil from your NSS tools package (libnss3-tools on Debian and Ubuntu, nss-tools on Fedora and RHEL). Without certutil, the system store is still trusted, but Firefox and Chrome on Linux are not. Install certutil and run jailoc proxy install again, or import the certificate by hand: in Firefox, open Settings, Privacy & Security, View Certificates, Authorities, import ~/.local/share/jailoc/proxy/ca.crt and trust it for websites.

Name resolution

jailoc proxy install picks one mode for the host. In the first two, the proxy's DNS responder answers for jailoc.local:

Host Mode What install sets up
macOS Resolver file /etc/resolver/jailoc.local with nameserver 127.0.0.1 and port <dns_port>, then a DNS cache flush
Linux with systemd-resolved: every nameserver in /etc/resolv.conf is the stub 127.0.0.53 (and there is at least one), and an explicit nsswitch.conf hosts line contains dns or resolve and has no mdns4_minimal [NOTFOUND=return] before it jailoc0 link A jailoc0 dummy link with address 169.254.53.53/32 and the interface alias jailoc-proxy-dns, managed by the root listener broker service. It routes only ~jailoc.local to the responder and has DefaultRoute=no, so no other lookup reaches jailoc. An existing jailoc0 without that alias belongs to someone else: the service refuses to start and never changes or removes it
Other Linux /etc/hosts block A managed block with an entry for every workspace and route, as listed above

In the first two modes, adding workspaces and routes needs no reinstall; only a change of http_port, https_port or dns_port does. The names resolve only while the background proxy runs. In /etc/hosts mode, run jailoc proxy install again after you add a workspace or a route. jailoc proxy status reports the mode in use.

A host whose /etc/resolv.conf names any server other than the stub, in any position, or none at all, falls back to the /etc/hosts block even when nsswitch.conf uses resolve: programs that read resolv.conf themselves, such as Go binaries, would bypass systemd-resolved. A hosts line with neither dns nor resolve, such as files or files myhostname, also falls back, because glibc never asks DNS. mdns4_minimal [NOTFOUND=return] makes glibc stop a .local lookup when mDNS finds nothing, before DNS is asked, so a host with it falls back to the /etc/hosts block.

Set up the host manually

Use this when you don't want a root service. The proxy then runs standalone, as your user, on http_port and https_port. Every command below that needs sudo is yours to run, so review each first. The commands read the CA directory from CA_DIR:

CA_DIR=~/.local/share/jailoc/proxy
  1. Trust the CA.

    macOS (current user):

    security add-trusted-cert -r trustRoot -k ~/Library/Keychains/login.keychain-db "$CA_DIR/ca.crt"
    

    Linux system store, which curl and most non-browser clients use:

    # Debian, Ubuntu
    sudo install -m 0644 "$CA_DIR/ca.crt" /usr/local/share/ca-certificates/jailoc-proxy-ca.crt
    sudo update-ca-certificates
    
    # Fedora, RHEL
    sudo install -m 0644 "$CA_DIR/ca.crt" /etc/pki/ca-trust/source/anchors/jailoc-proxy-ca.crt
    sudo update-ca-trust
    

    Chrome and Chromium on Linux use the NSS database of your profile:

    certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n "jailoc proxy CA" -i "$CA_DIR/ca.crt"
    

    Firefox keeps its own store: import ca.crt as described in the warning above.

  2. Point the names at the proxy. The proxy's DNS responder answers every name under jailoc.local on 127.0.0.1:<dns_port> (5399 by default) while the proxy runs. Send only that domain to it, in one of these ways. The examples use port 5399; substitute your dns_port.

    macOS, a resolver file:

    sudo mkdir -p /etc/resolver
    printf 'nameserver 127.0.0.1\nport 5399\n' | sudo tee /etc/resolver/jailoc.local
    sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder
    

    Linux with systemd-resolved, a dummy link that routes only jailoc.local. Use a dummy link rather than lo, because systemd-resolved ignores the loopback interface when it routes DNS queries. The link disappears at reboot, and resolvectl dns needs a systemd-resolved that accepts address:port:

    sudo ip link add jailoc0 type dummy
    sudo ip link set jailoc0 alias jailoc-proxy-dns
    sudo ip addr add 169.254.53.53/32 dev jailoc0
    sudo ip link set jailoc0 up
    sudo resolvectl default-route jailoc0 no
    sudo resolvectl domain jailoc0 '~jailoc.local'
    sudo resolvectl dns jailoc0 127.0.0.1:5399
    

    Any host, a hosts file. List the bare workspace name and every route name in /etc/hosts, and add a name after each new route. Check first that no line of yours already carries the marker:

    grep -c '# jailoc-proxy' /etc/hosts    # 0 expected
    echo '127.0.0.1 demo.jailoc.local foo.demo.jailoc.local # jailoc-proxy' | sudo tee -a /etc/hosts
    

    Don't set a global DNS= in systemd-resolved

    A DNS=127.0.0.1:5399 line in resolved.conf or a drop-in sends every DNS query of the host to the proxy, which serves only jailoc.local. Route just ~jailoc.local, as above.

  3. Choose the ports and start the proxy standalone. Without the listener broker, the proxy binds 127.0.0.1 on http_port for the plain-HTTP redirect and on https_port for HTTPS, 80 and 443 by default. It runs as your user, so it can't bind those reserved ports unless your host lets unprivileged processes use them, and it fails to start otherwise. Set high ports in [proxy], so browsers and the proxy use the same ports and nothing needs forwarding:

    [proxy]
    http_port = 8080
    https_port = 8081
    
    jailoc proxy                # background proxy for all running workspaces with routes
    jailoc proxy --foreground   # foreground only, no background process (stop with Ctrl+C)
    jailoc proxy demo           # serve a single workspace
    

    With --foreground, nothing stays running after Ctrl+C and no system service is installed; jailoc only keeps its local CA files under ~/.local/share/jailoc/proxy. Browsers still need name resolution and CA trust (steps 1 and 2 above), while curl --cacert ... --resolve ... works without touching any host setting.

    Every route URL then carries the HTTPS port, for example https://foo.demo.jailoc.local:8081, and the proxy accepts only that authority. jailoc proxy --listen host:port replaces only the address of the HTTPS listener; http_port still sets the redirect listener and https_port still sets the port in URLs.

    To get URLs without a port, install the listener broker instead, as described in Install the host setup.

Verify the setup

Run jailoc proxy status to check the listener broker, the CA certificate and the name resolution mode, then request the workspace endpoint. When the proxy serves the workspace, https://<workspace>.jailoc.local/ answers 200 OK with the body OK:

curl https://demo.jailoc.local/

The command prints OK. A certificate failure must fail the command; don't pass -k.

To test resolution alone while the proxy runs, run getent hosts demo.jailoc.local on Linux or dscacheutil -q host -a name demo.jailoc.local on macOS. Both print a loopback address.

To check the redirect, request a route over plain HTTP. A route with the default https_redirect = true answers 307 and a Location header with its HTTPS URL. A standalone proxy needs http_port in the URL, for example http://foo.demo.jailoc.local:8080/:

curl -sI http://foo.demo.jailoc.local/

For a manual setup, pin the name to loopback and use the CA as the only trust anchor. The example uses https_port = 8081; substitute yours:

curl --cacert "$CA_DIR/ca.crt" --resolve demo.jailoc.local:8081:127.0.0.1 \
  https://demo.jailoc.local:8081/ -sS -w '\n%{http_code}\n'

200 shows that the certificate chain and the proxy work. It doesn't test DNS or the browser's trust store; open a route in the browser too.

Clean up

Stop the proxy, then remove the host setup:

jailoc proxy stop
jailoc proxy uninstall

jailoc proxy uninstall stops the background proxy and removes only what jailoc proxy install added: the listener broker service and binary, the name resolution it set up (the /etc/resolver/jailoc.local file, the jailoc0 link, or the jailoc proxy hosts block of /etc/hosts), and the CA from the system store and the NSS databases. Like the install, it asks for confirmation before making changes; --yes (-y) skips the prompt. It removes the service files, the name resolution and the CA only after the system service manager confirms the service is stopped or not there. When it cannot confirm that, it fails and keeps install.json and the files, so you can run it again. To delete the CA itself, run rm -rf ~/.local/share/jailoc/proxy afterwards.

For a manual setup, each command below removes only what the manual steps added. Skip the lines for options you didn't use.

# names, resolver file (macOS)
sudo rm /etc/resolver/jailoc.local
# names, dummy link (Linux with systemd-resolved)
sudo ip link del jailoc0
# names, hosts file: only the lines that carry the marker (on macOS use: sudo sed -i '' ...)
sudo sed -i '/# jailoc-proxy$/d' /etc/hosts

# trust (macOS)
security remove-trusted-cert "$CA_DIR/ca.crt"
security delete-certificate -t -c "jailoc proxy root CA" ~/Library/Keychains/login.keychain-db
# trust (Debian, Ubuntu)
sudo rm /usr/local/share/ca-certificates/jailoc-proxy-ca.crt && sudo update-ca-certificates --fresh
# trust (Fedora, RHEL)
sudo rm /etc/pki/ca-trust/source/anchors/jailoc-proxy-ca.crt && sudo update-ca-trust
# trust (Chrome, Chromium on Linux)
certutil -d sql:$HOME/.pki/nssdb -D -n "jailoc proxy CA"

# CA, intermediate and leaf certificate
rm -rf ~/.local/share/jailoc/proxy

Also remove the CA from Firefox's certificate manager when you imported it by hand.

Troubleshoot

Symptom Check
Certificate warning The CA isn't trusted by this browser; run jailoc proxy status, then jailoc proxy install again. Firefox without certutil needs the manual import under Install the host setup.
Name doesn't resolve jailoc proxy status shows the resolution mode. In resolver mode, check that the background proxy runs (jailoc proxy status) and that dns_port matches the resolver file or link; after a change, run jailoc proxy install again. In /etc/hosts mode, it lists missing entries; run jailoc proxy install again after you add a workspace or a proxy route. Secure DNS in the browser can bypass the system resolver and /etc/hosts.
Warning that the DNS responder port is in use Another process holds dns_port. The proxy keeps serving HTTP and HTTPS, but resolver-mode names don't resolve. Free the port or set another dns_port, run jailoc proxy install again and restart the proxy.
Connection refused on https_port or http_port The listener broker isn't running or the proxy isn't attached to it; check jailoc proxy status. For a manual setup, the proxy isn't running.
Proxy fails to start with a bind error on port 80 or 443 A standalone proxy can't bind the reserved port. Install the listener broker with jailoc proxy install, or set unprivileged http_port and https_port, such as 8080 and 8081, and restart the proxy.
URL with the wrong port rejected Open the route on https_port: without a port when it is 443, with :<https_port> otherwise.
Plain http:// answers 421 The route sets https_redirect = false, or the host isn't a route of the running proxy.
Browser shows a nonstandard port after a redirect https_port isn't 443. The redirect target carries it, as every route URL does.
Broker and proxy ports differ After changing http_port, https_port or dns_port, run jailoc proxy install again and restart the proxy.
Login code rejected A code works once and expires 10 minutes after the proxy starts. Run jailoc proxy stop, then jailoc proxy <workspace> for a new one.
Proxy refuses the workspace The running VM doesn't match the configured proxy ports. Run jailoc reload <workspace>, or jailoc restart <workspace> when the VM was started by an older jailoc.
Route fails after the VM stopped or was replaced Run jailoc up <workspace>.
existing proxy CA in ... is unusable The CA in ~/.local/share/jailoc/proxy is expired, incomplete or not limited to jailoc.local. Run jailoc proxy uninstall, remove that directory, and run jailoc proxy install after the next start to trust the new ca.crt.
Proxy fails to start Read ~/.cache/jailoc-vm/proxy/proxy.log.
the background proxy serves workspaces of ... One proxy serves one configuration file. Run jailoc proxy stop, then start the workspaces of the other --config.
proxy CA directory ... overlaps shared path A workspace shares ~/.local/share/jailoc or a parent of it, directly or through a symlink. Remove the path or mount, then jailoc restart that workspace if its VM still runs with the share.
the listener broker is not running for this user Run jailoc proxy install, then check jailoc proxy status.
another proxy is attached to the listener broker Stop the other jailoc proxy --listener-broker first.
Broker refuses its executable The binary must sit in a root-owned directory that group and others can't write. Run jailoc proxy install again.
Login post or pages behave oddly on a reused route name An old service worker may control the origin. Unregister it and clear the site data; see Service workers and origin reuse.
Validation error on ports or host_ports Guest port 6081 is reserved for the proxy relay, 6080 with desktop.enable, and 9222 with desktop.chrome.