From e5167ea447205a51e027c9145a4e11ed0c20d877 Mon Sep 17 00:00:00 2001 From: kyouheicf <85217388+kyouheicf@users.noreply.github.com> Date: Tue, 1 Oct 2024 01:08:11 +0900 Subject: [PATCH] [Workers] TCP Workers Outbound IP PCX-13416 --- src/content/docs/workers/runtime-apis/tcp-sockets.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/docs/workers/runtime-apis/tcp-sockets.mdx b/src/content/docs/workers/runtime-apis/tcp-sockets.mdx index cacae3018f898c..252a5dfa5a502d 100644 --- a/src/content/docs/workers/runtime-apis/tcp-sockets.mdx +++ b/src/content/docs/workers/runtime-apis/tcp-sockets.mdx @@ -15,6 +15,11 @@ Many application-layer protocols are built on top of the Transmission Control Pr Connecting to a PostgreSQL database? You should use [Hyperdrive](/hyperdrive/), which provides the `connect()` API with built-in connection pooling and query caching. ::: +:::note + +TCP Workers outbound connections are sourced from a prefix that is not part of [list of IP ranges](https://www.cloudflare.com/ips/). +::: + ## `connect()` The `connect()` function returns a TCP socket, with both a [readable](/workers/runtime-apis/streams/readablestream/) and [writable](/workers/runtime-apis/streams/writablestream/) stream of data. This allows you to read and write data on an ongoing basis, as long as the connection remains open.