Cloudflare

Cloudflare Workers and Containers now support inbound TCP connections and gRPC

Aug 3, 2026Mar Witek, Thomas Rubini
Cloudflare Workers and Containers now support inbound TCP connections and gRPC
SummaryAI, from the source post

Introduces the `connect(socket)` handler for inbound TCP connections in Cloudflare Workers, enabling routing of raw TCP sockets from Spectrum. Extends Workers to support full-duplex communication with gRPC servers running in containers or other Workers. Adds automatic conversion between gRPC and gRPC-web, allowing Workers to serve and consume gRPC APIs without requiring clients to change their implementation. This enables the deployment of gRPC-based applications, including real-time voice AI, on Cloudflare's edge network.

More from the Edge Computing with Cloudflare Workers trail