HTTP Fetch Request
Hi there whenever I try to make a fetch request to my HTTP website with my cloudfare worker, it returns
error code: 521
7 Replies
What are you trying to fetch, exactly? Workers have certain restrictions on outgoing fetches with non-standard ports for example
i have to use that port
There's a nice flow chart here you can follow
![No description](https://cdn.answeroverflow.com/1196205320402374736/e9ae7e44c051cc5157a3e7ae2d30b274e6a57049.png)
ok
same-zone means same Cloudflare website, ex only a worker running on bot-hosting.net on a custom domain/route can fetch non-standard ports
so i cant request because of its port?
yes, you workaround it by adding your own proxy in the middle that your worker calls, ex:
Worker -> Your app on a standard port -> non-standard port request, using nginx or something else to proxy the requests
also really shouldn't be using insecure http