Problem with accessing EC2 via HTTP

0

Hi everyone! I am currently facing a problem with EC2. I am unable to access EC2 visa HTTP.Does anyone know why this is happening?

  • I havent been able to access my s3 buckets via console for about 12 hours if it makes any difference... I was able to send an image to a bucket using the cli though.

Bahar
asked a year ago225 views
1 Answer
0

Not enough information to provide a solid answer. But there are a few potential reasons why you may be unable to access your EC2 instance via HTTP:

Security Group configuration: Make sure that the security group associated with your EC2 instance has an inbound rule allowing incoming traffic on port 80 (HTTP) from your IP address.

Network ACL configuration: Make sure that the Network ACL of the VPC associated with the EC2 instance has an inbound rule allowing incoming traffic on port 80 (HTTP) from your IP address.

Firewall on the instance: Check if there is any firewall on the EC2 instance that is blocking incoming traffic on port 80.

Application issue: Make sure that the application is running and responding to requests on port 80 on the instance. Try to access the application on the localhost by connecting to the instance using ssh and running curl command.

Elastic IP: Make sure that the Elastic IP is associated with the instance.

Check the instance's state: Make sure that the EC2 instance is in a running state and that the status checks are passed.

By checking the above points, you should be able to identify the cause of the issue and take appropriate actions to resolve it. If none of these steps resolve the issue, it may be helpful to review the EC2's system and instance logs for more information.

profile picture
answered a year ago

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