Port Origin Rule
Hey, I have both ports 80 and 8081 forwarded and use 80 for my API and want to use 8081 for a development version of my API. I host both locally so cannot get another IP address.
I've spent the last 2-3 days trying to get origin rules to work but I have been defeated. Does anyone have any idea why a port origin rule re-write won't work for this? I keep getting 522 when I try to visit the website.
7 Replies
Sorry if I am being stupid or have been doing something obviously wrong. I have really tried my best to get this to work and cannot find any solutions online. Any help would be appricated.
can you please provide an example of the origin rule you configured
Yep, sorry for the delay here

that should work, yeah. are you sure your server is accepting inbound connections on port 8081? e.g no ufw/iptables log that inbound connections are being dropped?
I'm using a DDNS service as I have a static ip, I can visit th`t directly fine
then you should probably use a tunnel