How to Connect to AWS IoT Core using MQTT & ALPN

This example shows how to connect to AWS IoT Core using MQTT on the secure HTTPS port 443.  Many firewalls and home routers often restrict inbound and outbound traffic to be transmitted over a small range of TCP ports. This is done as a security measure to limit the attack surface for possible cyber attacks. Standard ports for things like HTTPS traffic (port 443) are usually left open but others that are used for less common protocols, such as MQTT (port 8883) may be intentionally blocked.

This is a work in progress article. Please come back later :-)

Posted in Tutorials