Status: Implementation IMPLEMENTED × Exposure PUBLIC PREVIEW. Earlier versions of this page described an
allternit-runtime service on port 8080 with a runtime.yaml, /status and a Metrics endpoint. Those do not exist on main.Network posture
allternit-apibinds0.0.0.0:$ALLTERNIT_API_PORT. Block that port at the host firewall; only the localagent-daemonneeds it.- The node needs only outbound HTTPS/WSS to
api.allternit.com. The relay (/api/v1/runtime-relay/connect/:runtimeId) carries browser and SDK traffic to the node, so no reverse proxy, TLS certificate or inbound port is required. - If nothing is paired and online, relayed routes return HTTP 428.
Local access without a token
WithALLTERNIT_SELF_HOSTED=true (or ALLTERNIT_LOCAL_DEV_BYPASS=true), allternit-api signs a same-machine caller in as the local user without a token. “Same machine” means all of these hold:
- The TCP connection comes from a loopback address (
127.0.0.1or::1). - The request has no forwarding header:
Forwarded,X-Forwarded-For,X-Real-IP,X-Forwarded-Host,CF-Connecting-IP,True-Client-IP, or theX-Allternit-Relayedmarker the desktop’s cloud relay adds. Hostis exactlylocalhost,127.0.0.1or[::1](an optional port is fine), andOriginandReferer, when sent, name one of those hosts.
curl http://127.0.0.1:8013/... on the node and a dev server on http://localhost:5173 calling the local API keep working.
Health checks
Backups
State lives underALLTERNIT_DATA_DIR (per-instance SQLite). Stop the process, copy the directory, start it again. A device identity file (ALLTERNIT_RUNTIME_IDENTITY_PATH) belongs to the paired daemon; losing it means re-pairing.
Revoking a node
A paired device can be revoked through the Cloud API (/api/v1/runtime-devices/:id, /api/v1/runtime-devices/:id/revoke-self). See Cloud API.
Scaling
One paired node is one runtime. Provisioned and hosted instances are managed through the Cloud API (/api/v1/provisioned-instances, /api/v1/hosted-runtimes). There is no built-in horizontal scaling of a single node.