Blocking access from a wordpress website to an HTML code on my EC2 instance.

0

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?

1 Answer
0
Accepted Answer

Hello.
Have you configured the security group set up for EC2 to allow the necessary communication?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-security-groups.html#adding-security-group-rule

profile picture
EXPERT
answered 9 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions