Unable to forward using cloudflare workers

For Workes & Pages, what is the name of the domain?

xm-test.com

What is the error number?

522

What is the error message?

Connection timed out

What is the issue or error you’re encountering

Unable to forward using cloudflare workers

What steps have you taken to resolve the issue?

Continuously modify my workers

I wrote a worker to implement something like ‘example.com/api forwarded to abc.test.com:8080’ but failed, prompting ‘Connection timed out Error code 522

I have tested the original address ‘abc.test.com:8080’ and it can be accessed normally.