[英]How can I access my application from the public IP of AWS?
Whenever I tried to access to my deployed application on an EC2 instance of AWS using the public IP, I get the following messages on Chrome: "This site can't be reached ec2-54-194-153-202.eu-west-1.compute.amazonaws.com took too long to respond." 每当我尝试使用公共IP访问AWS的EC2实例上已部署的应用程序时,我都会在Chrome上收到以下消息:“无法访问此站点ec2-54-194-153-202.eu-west- 1.compute.amazonaws.com响应时间过长。”
then, What changes shall I apply in order to grant access to the application properly ?, Thank you, 那么,为了正确授予对应用程序的访问权限,我应该进行哪些更改?,谢谢,
The first thing to check in this case is The Security-Group inbound rules attached to your Ec2. 在这种情况下,首先要检查的是附加到您的Ec2的“ 安全组”入站规则。
If your application is running behind a webserver like Nginx or Apache, check that your security_group is open in inbound for the public range (0.0.0.0/0) on the http port (80). 如果您的应用程序在Nginx或Apache之类的Web服务器后面运行,请检查您的security_group是否在入站中打开,以获取http端口(80)上的公共范围(0.0.0.0/0)。
You can get this info on the Ec2 panel, click on your instance and check the attached security_group, click on it and check the inbound rules. 您可以在Ec2面板上获取此信息,单击您的实例并检查附加的security_group,单击它并检查入站规则。
Here is a guide for you. 这是给您的指南。
Notice : If nothing is running on your Ec2 it will never respond, be sure your app is served by a Nginx/Apache/Tomcat daemon. 注意:如果Ec2上没有任何内容,它将永远不会响应,请确保您的应用程序由Nginx / Apache / Tomcat守护程序提供服务。
Hope it helps ! 希望能帮助到你 !
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.