Hi! I noticed you closed this post - was that because you found an answer?
I seem to recall that Amazon EC2 uses secure connections - it may be that while you can connect to port 80, it actually silently redirects to port 443 for HTTPS? Espruino wouldn't handle any redirections so that might be the issue?
On the Pico and WiFi boards you can use HTTPS, but quite a lot of RAM is required for it.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi! I noticed you closed this post - was that because you found an answer?
I seem to recall that Amazon EC2 uses secure connections - it may be that while you can connect to port 80, it actually silently redirects to port 443 for HTTPS? Espruino wouldn't handle any redirections so that might be the issue?
On the Pico and WiFi boards you can use HTTPS, but quite a lot of RAM is required for it.