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 Risposta
0
Risposta accettata

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
ESPERTO
con risposta 9 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande