Cloudflare’s public beta lets Spectrum route inbound TCP into Workers and relay bidirectional gRPC streams to Containers, but access requires eligible zone plans, TLS planning, and Workers and Spectrum billing.
The central addition is an inbound TCP handler in the Workers runtime. A deployed Worker can now export a connect() function that receives a socket with readable and writable streams.
The published architecture uses four components: the client, Spectrum, a Worker, and a Durable Object connected to a Container. Spectrum receives the public TCP session and invokes the Worker’s connect() handler.
Public beta access is not available on every Cloudflare plan. Worker origin applications are supported on Pro and Business zones, as well as Enterprise zones with Spectrum Enterprise enabled. Free zones are not supported.
Encryption needs deliberate planning because the network path does not automatically mean that Spectrum terminates TLS for every eligible plan.
The strongest use case is a service that already speaks TCP or gRPC and needs a Cloudflare managed public ingress route.
Cloudflare opens inbound TCP and bidirectional gRPC to Workers