This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220MODA: Close the port 443 (https) and 80(http)

Guru 16770 points
Part Number: CC3220MODA
Other Parts Discussed in Thread: UNIFLASH

Hi

I have following questions.  Could you give me a feedback?

1.

Is it possible to close the port 443 (https) and port 80 (http)?

We suppose to close port 80 and port 443 is optionally.

2.

How can we close port 80?  Does it need to use Uniflash?

3.

How can we close port 443 from source code?

Do you have sample code?

BestRegards

  • Hi,

    Unless you have the internal HTTP server enabled, those ports should be closed. Those ports will be open if you have the internal HTTP server of the device running. Otherwise, they will be closed just like every other port you don't explicitly open through a bind() or connect(). The API call to stop the internal HTTP server is sl_NetAppStop(SL_NETAPP_HTTP_SERVER_ID).

    Let me know if you need more clarification or have further questions on this topic.

    Regards,
    Michael