Support for SSL over alternative port


We have options to run things over SSL, for instance when redirecting. This basically just switches the protocol from "http" to "https".

How can we support environments like CommandBox's embedded server, where the SSL port isn't 443 and the secure URLs need to look something like this:


Luis Majano
September 21, 2016, 9:59 PM

so can I close this ticket?

Brad Wood
September 21, 2016, 10:34 PM

Why would you want to close it? It isn't completed.

Luis Majano
September 21, 2016, 10:35 PM

I misunderstood you then. I don't get the issue st this point. Is it for build link?

Brad Wood
September 21, 2016, 10:40 PM

SetNextEvent() was the example in the ticket, but I assume buildLink would have the same issue. Basically if you do

It isn't going to work if your HTTPS requires a port other than 443.

I've actually had poor luck getting HTTP to run on any port OTHER than 443. Browsers don't seem to like it when you hit them with HTTPS but a custom port.

Gavin Pickin
March 10, 2017, 9:49 PM

Add a Coldox configuration setting for

webPort default to ""
SSLPort default to ""

Use Java library for for parsing the url into piece.


Luis Majano


Brad Wood