Web server on two ports or HTTP Redirect

Environment:

STM32F407, Keil Middleware, Keil Network Core IPv4 v7.5.0, Web Server Compact (HTTPS) v7.5.0, MbedTLS v2.4.2

Reference:

www.keil.com/.../index.html, www.keil.com/.../group__net_h_t_t_p___func.html

Question:

Does anyone know how to

1)configure the web server to listen on both port 443 and 80?

~or

2)configure a http redirect from 80 to 443?

Thanks for your responses in advance.

More questions in this forum