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 réponse
0
Réponse acceptée

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
répondu il y a 9 mois
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions