How to change the configured http/https ports