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

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠