Workers VPC - TCP connections via connect() over VPC Networks (opens in new tab)
bindings now support the fetch(). This means Workers can now open TCP sockets to any private service reachable through the bound Cloudflare Tunnel, Cloudflare Mesh, or Cloudflare WAN on-ramp — Redis, Memcached, MQTT, custom binary protocols, or any other TCP-based service. wrangler.jsonc { "$schema": "./node_modules/wrangler/config-schema.json", "vpc_networks": [ { "binding": "PRIVATE_NETWORK", "network_id": "cf1:network", "remote": true } ]} wrangler.toml [[vpc_networks]]binding = "PRIVATE_N...
Read the original article