I've been trying to solve this access problem for three days, in an HTML code from my EC2 instance on the Amazon Web Server. I have a wordpress website, hosted on Hostinger and I am trying to put a Grafana panel (a type of open source dashboard that is running on my instance) on that site, through an html code, when I type html code in the place for the website shows the Grafana panel, an error like this appears. Connection to ec2-cc-ccc-ttt.sa-east-1.compute.amazonaws.com was refused . I've looked all over the internet, how to unlock website access on AWS and I haven't found anything about it, does anyone know how to unlock access to html code, on my EC2 instance?
Thanks for trying to help Riku Kobayashi. Yes the ports are configured correctly. Access is only being denied to a wordpress website. When another person tries to access the HTML code from another computer, access is not denied.