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 Antwort
0
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 9 Monaten
  • 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen