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
已提问 5 个月前210 查看次数
3 回答
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
专家
已回答 5 个月前
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
已回答 5 个月前
0

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

Incepta
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容