React Application not accessible through the EC2 Public IP

0

I have deployed my REACT application to the EC2 instance in the Linux server and serving with the Nginx.

The build files are served when I am accessing locally with curl localhost in the EC2 instance. Build file served using localhost

But when I am using my public IP, I am getting no response. Public IP giving no response

Note: All the necessary ports are already enabled in the inbound rules of security groups.

Any help is greatly appreciated. Thank you

Incepta
asked 5 months ago194 views
3 Answers
0

Hello.

Is your EC2 running in a public subnet?
Even if a public IP address is attached to EC2, you will not be able to connect if it is not started in a public subnet.

profile picture
EXPERT
answered 5 months ago
0

Hello, Thanks for responding. I guess yes as I can see the Destination set to 0.0.0.0/0 in the route table of the Subnet my ec2 have. But you can have a look at the image below: Enter image description here

Incepta
answered 4 months ago
0

Also, this is my instance summary: Enter image description here

Incepta
answered 4 months 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