HTTPS is forced to port 8443

I just installed Subsonic 4.9 (standalone) on a Raspberry Pi, running OpenElec, with Java 8 hard float. I want to run HTTPS on a different port, but it seems I am forced to use 8443.
With this in subsonic.sh:
When I access the server with https://serveraddress:8080, it redirects me to https://serveraddress:8443 and nothing ever loads.
If I set SUBSONIC_HTTPS_PORT=8443, then it works fine. Where is this redirect coming from? I haven't had this issue on other systems.
With this in subsonic.sh:
- Code: Select all
SUBSONIC_PORT=0
SUBSONIC_HTTPS_PORT=8080
When I access the server with https://serveraddress:8080, it redirects me to https://serveraddress:8443 and nothing ever loads.
If I set SUBSONIC_HTTPS_PORT=8443, then it works fine. Where is this redirect coming from? I haven't had this issue on other systems.