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
Seed
SeedOP2mo ago
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.
Idle
Idle2mo ago
can you please provide an example of the origin rule you configured
Seed
SeedOP2mo ago
Yep, sorry for the delay here
Seed
SeedOP2mo ago
No description
Idle
Idle2mo ago
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?
Seed
SeedOP2mo ago
I'm using a DDNS service as I have a static ip, I can visit th`t directly fine
Idle
Idle2mo ago
then you should probably use a tunnel

Did you find this page helpful?