Redirecting requests on port 80 to port 443

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Redirecting requests on port 80 to port 443

1,692件の閲覧回数
jesperevertsson
Contributor IV

Hi, after enabling RTCSCFG_ENABLE_SSL in user_config.h I've noticed that the web server stops listening on port 80 completely and only listens to port 443. This means that I have to write https://192.168.XXX.XXX in the browser to access the web server in our product. Is there any way to make the HTTP server in MQX to listen to port 80 as well and redirect all connections to port 443? That way it would be enough to write 192.168.XXX.XXX in the browser.

Regards, Jesper Evertsson

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,388件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Jesper:

I haven't ever tried this, I think something like NAT should be enabled to redirect request on port 80 to port 443. But currently no out of the box solution for this for the HTTPS.

Regards

Daniel

0 件の賞賛
返信

1,388件の閲覧回数
jesperevertsson
Contributor IV

Hello Daniel, thanks for the reply. I'm not really sure how things like this works. But for example, when I type "community.nxp.com" in my browser I get an https connection automatically without having to explicitly type "https://". This is what I would like to happen with my program as well, but I have no idea what is needed for this. Or if it is possible at all with MQX.

Regards, Jesper

0 件の賞賛
返信