How to prevent Worker from running on certain colocations?

We're using Anthropic's API. Some of our users from South Korea are being routed to the Hong Kong Cloudflare colocation, and Anthropic's API doesn't accept requests from China (& Hong Kong). We want to block Workers from routing to Hong Kong (& instead route to, say, the one in Seoul, KR).
1 Reply
Avilaa
Avilaa•4w ago
Hi, there is a way which is finding the Cloudflare IP of any country or city, a subdomain of yours has to point to that Cloudflare IP, and when you make requests to your worker you must do so to that subdomain, obviously you must configure that subdomain to your worker

Did you find this page helpful?