I launched instance on AWS under the ubuntu operating system, installed nodejs, cloned the git repository and launched it, but when I try to switch to a public ip I get the error: This site cannot provide a secure connection. The console displays this: crbug/1173575, non-JS module files deprecated the node js application itself is running. Everything works on my computer.
You’re likely clicking on the "Open Address" button in the EC2 Console, which defaults to HTTPS:
Simply copy your public address, open a new tab, and access it manually: it should work.