I have been trying to install and configure bittorrent sync on ec2 instance running ubuntu 14.04 and nginx. I have followed this article https://www.digitalocean.com/community/tutorials/how-to-use-bittorrent-sync-to-synchronize-directories-in-ubuntu-14-04 but when I put listen server_domain_or_IP:8888 ssl; in the server block, it will give error when restarting nginx.
So then I followed instruction on this https://stackoverflow.com/questions/3191509/nginx-error-99-cannot-assign-requested-address answered by kirpit and then that error gone. But when I try to load the interface at https://server_domain_or_IP:8888 it won't load giving error as follows:
Can't load the page because the server where this page is located isn't responding.
I have opened port 8888 in security group but no luck.
I have spent few hours but no success. But I was able to do this on a digitalocean droplet on same ubuntu 14.04, so not sure why it doesn't work on ec2. Can anyone help me please?