无法访问安装在EC2 Tomcat实例 [英] Cannot access tomcat instance installed in EC2

查看:593
本文介绍了无法访问安装在EC2 Tomcat实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Ubuntu EC2实例安装Tomcat 7。它的启动和运行,但使用公共IP(54.213.225.148:8080)我不能访问它。我还设置了安全组作为previous职位规定。但是,仍然没有运气。

I have install tomcat 7 in an Ubuntu EC2 instance. It's up and running but I cannot access it using the public ip (54.213.225.148:8080). I have also setup the security groups as specified in the previous posts. But, still no luck.

任何帮助将是非常美联社preciated。

Any help on this would be really appreciated.

推荐答案

请确保您的的Ubuntu简单的防火墙是控制iptables的交通替代。

Make sure your Ubuntu Uncomplicated Firewall is controlling the traffic instead of iptables.

sudo ufw enable

然后配置它,以使8080。

sudo ufw allow 8080

这篇关于无法访问安装在EC2 Tomcat实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆