简体   繁体   English

Tomcat无法从EC2实例访问(Ubuntu 14)

[英]Tomcat not accessible from EC2 Instance (Ubuntu 14)

I am not able to access the tomcat using public IP of EC2 Instance. 我无法使用EC2实例的公共IP访问tomcat。 I can access it using http://localhost:8080 internally but not from outside. 我可以在内部使用http:// localhost:8080来访问它,但不能从外部访问它。 In fact, It was running good since 2 months but suddenly it stopped and now I am hanging in between. 实际上,它从两个月以来运行良好,但是突然停了下来,现在我介于两者之间。 locally my application is running fine and I can ping to my Instance using Public IP. 在本地,我的应用程序运行良好,可以使用Public IP ping我的实例。 Security group defines access to all traffic (TCP,HTTP,SSH). 安全组定义对所有流量(TCP,HTTP,SSH)的访问。 Then why Tomcat/Application is not being accessed externally. 然后为什么不从外部访问Tomcat / Application。 Any help will be highly appreciated. 任何帮助将不胜感激。 Thanks 谢谢

You have to define security group rule. 您必须定义安全组规则。

Security Groups -> Inbound -> Edit: 安全组->入站->编辑:

Custom TCP Rule : TCP: 8080 : Source Anywhere 自定义TCP规则:TCP:8080:随处可见

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

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