简体   繁体   English

为什么部署在Amazon Elastic Beanstalk上的应用程序无法访问?

[英]Why is application deployed on Amazon Elastic Beanstalk not accessible?

I have deployed Spring MVC & MySQL based application on Amazon Elastic Beanstalk . 我已经在Amazon Elastic Beanstalk上部署了基于Spring MVC和MySQL的应用程序。 The RDS instance of MySQL is working perfectly. MySQL的RDS实例运行良好。 I deployed my application war on Beanstalk using Tomcat 6 (which is referring to RDS instance) and the EC2 instance is running successfully as per the AWS Management Console intimation but while accessing application URL I am facing the following issue 我使用Tomcat 6(指RDS实例)在Beanstalk上部署了应用程序之战,并且根据AWS管理控制台的提示EC2实例已成功运行,但是在访问应用程序URL时我面临以下问题

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

Note: Availing free services of AWS. 注意:提供AWS的免费服务。 I have defined instance type as small for RDS and medium for web application and do have S3 instance with 36mb data. 我已将实例类型的RDS定义为小,将Web应用程序的定义为媒介,并将S3实例的数据大小设置为36mb。

Could any one suggest me what would be the problem? 有人可以建议我出什么问题吗?

我通过为数据库实例创建EC2安全组解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM