简体   繁体   English

使用弹性IP地址的Amazon Ec2实例访问

[英]Amazon Ec2 instance access using elastic ip address

在此处输入图片说明

I installed jboss in my ec2 instance. 我在ec2实例中安装了jboss。 My elastic ip address 52.16.53.218. 我的弹性IP地址52.16.53.218。

I deployed my retailproduct application. 我部署了我的零售产品应用程序。 Server is started. 服务器已启动。 Deployed successfully, but I can't access my application. 部署成功,但无法访问我的应用程序。

I tried below ways: 我尝试了以下方法:

http://localhost:8080/retailcare http:// localhost:8080 / retailcare

http://127.0.0.1:8080/retailcare http://127.0.0.1:8080/retailcare

http://52.16.53.218:8080/retailcare http://52.16.53.218:8080/retailcare

I can't access. 我无法访问。 Any help appreciated. 任何帮助表示赞赏。

Accessing localhost stays totally within the Amazon EC2 instance, so it would not be impacted by Security Group. 访问localhost完全保留在Amazon EC2实例中,因此不会受到安全组的影响。

If you are able to SSH/RDP to the actual server and accessing http://localhost:8080/retailcare does not work, then it is a problem with your application or JBoss configuration. 如果您能够SSH / RDP到实际服务器并且无法访问http://localhost:8080/retailcare ,则说明您的应用程序或JBoss配置存在问题。

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

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