Cloudflare opens inbound TCP for Workers and bidirectional gRPC in Containers to public beta
Brief
Cloudflare’s public beta lets Workers handle inbound TCP connections and Containers run bidirectional gRPC servers.
Availability and limits
- Worker-origin Spectrum applications are available on Pro and Business zones, and on Enterprise zones with Spectrum Enterprise enabled.
- Without Spectrum Enterprise, Pro and Business zones support one Worker-origin application per zone, on one TCP port.
How it works
- Spectrum routes public TCP connections to a Worker’s connect() handler, which can forward the connection through a Durable Object to a Container.
- The Worker and Durable Object forward encrypted bytes; the Container terminates TLS and handles HTTP/2 and gRPC.
Generated by AI from the original article. Check the source for full details.