redirectPort and maintenancePort need to be configured