Unable to view webpage after installation of frappe and erpNext on AWS ubuntu 14.04 server

I was able to successfully install frappe and erpNext and have started the bench too.

Here are the details of the inbound security group settings in AWS.
Ports Protocol Source frappe-erpnext
80 tcp, ::/0 :heavy_check_mark:
8080 tcp, ::/0 :heavy_check_mark:
22 tcp, ::/0 :heavy_check_mark:

I am trying to access the website on http://ec2-52-15-166-255.us-east-2.compute.amazonaws.com:8080 but i getting unable to connect error.
Complete error :
"Unable to connect

Firefox can’t establish a connection to the server at ec2-52-15-166-255.us-east-2.compute.amazonaws.com.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web."