Desking App
Web Hosting

Cloudflare opens inbound TCP and bidirectional gRPC to Workers

Noura Mint ElyNovember 25, 2026
Tap to continue
01

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.

02

1. What changed at ingress

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.

03

2. How the connection travels

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.

04

3. Access depends on zone limits

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.

05

4. TLS remains an engineering decision

Encryption needs deliberate planning because the network path does not automatically mean that Spectrum terminates TLS for every eligible plan.

06

5. Where the new model fits

The strongest use case is a service that already speaks TCP or gRPC and needs a Cloudflare managed public ingress route.

Full article

Want the full story?

Cloudflare opens inbound TCP and bidirectional gRPC to Workers

Swipe up to read
Read the full article