if every thing seems correct, like security group, and still getting connection refused? So please check - https://your-ip, try without https, use only http://your-ip, because as in my case, my new aws instance has no https(ssl) certificate.