Skip to main content

Ports and sockets

Port / socketComponentDefault bindChange with
5092/tcpmachina-daemon (HTTPS: web UI, REST, WebSocket)0.0.0.0[daemon] host / port, --host / --port
5093/tcpmachina-controller0.0.0.0 (127.0.0.1 behind the daemon proxy with --platform-bind)machina-controller --host --port
50051/tcpmachina-agent gRPC (TLS)127.0.0.1machina-agent --listen
50052/tcpmachina-agent console proxy127.0.0.1machina-agent --console-listen
/run/machina-bpf/bpfd.sockmachina-bpfd (root only, mode 0600)localMACHINA_BPFD_SOCK
4222/tcpNATS (optional, external)—NATS_URL
3000/tcpVite dev server (development only)localhostweb/vite.config.ts

Only 5092 needs to be reachable by operators. Open 5093 and 50051/50052 between controller and hypervisors for a multi-host fleet (deploy with --platform-bind 0.0.0.0), and protect them with mTLS.

VM consoles do not need extra ports: noVNC, SPICE, serial and SSH are tunnelled over WebSockets on 5092.