A command line script setreservedports.pl is provided to allow Administrators to change the secure port or the SSHd port.
To change the https port, use the --gui option:
/usr/local/bin/setreservedports.pl --gui 5445
Although 5445 is suggested here as the alternative port, any port number between 1 and 65535 is allowed as long as it does not collide with another service.
To change the ssh port, use the --ssh option:
/usr/local/bin/setreservedports.pl --ssh 5022