EC2 port 80 and 443 were closed unexpectedly

0

Hi. I have bitnami wordpress website run on an EC2 instance. Recently I cannot access my website through a web browser.

The bitnami diagnostic tool told me that server ports 22, 80 and/or 443 are not publicly accessible. Website Port Checker also showed that the port 80 and 443 are closed.

I logged in my EC2 instance, and the security group settings look fine to me. I used netstat, and the results told me the ports are listening.

I was confused at this point.

I then discovered this resolved issue on bitnami support: https://github.com/bitnami/vms/issues/481 Where the author stated the ports were closed by the high-level due to malicious attack.

Does anyone know how can I know whether this is what I encounter? I am on a basic support plan. I don't know who to talk to.

Thanks.

Sincerely, Chris

Chris
posta un anno fa334 visualizzazioni
2 Risposte
0

Am not sure I understand your issue correctly, but you can use the rateability analyzer to check if the EC2 (ENI for the EC2) is reachable on a specific port from a specific IP/gateway/ENI.

That will let you know whether there is anything up until you instance blocking traffic or if indeed the traffic flows through end to end.

AWS
con risposta un anno fa
  • Thanks for your kind reply. I tried many different paths, and it seemed like the instance public IP is not reachable in any port (with the detail saying NO_PATH), while the private IP can be reached through port 22 and port 80 (I didn't try 443). The documentation for NO_PATH doesn't seem to be very helpful. Do you have any suggestion for what I can do next?

0

The issue has resolved by itself after I created an image of the instance (I attempted to just launch another instance instead of thinking what's wrong with the old one). And after I created the image, the website suddenly can be accessed. I have no idea why and how but think it's a good idea to leave this piece of information in case any one facing the same situation and needing a solution. Thanks!

Chris
con risposta un anno fa

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