AESEncrypt Demo project fails under WAMP WanIp



Demo project AESEncrypt runs successfully under localhost and runs successfully on an https server.

However, when I run WAMP on my local machine, and open the index.html via the WAN ip address, it fails.
I simply copied the contents from the release folder and renamed AESEncrypt.html to index.html. The screen displays but fails to work on pressing the encrypt button.

Console shows :