linux下安装tomcat启动访问不了
查看tomcat启动状态正常,日志也没有报错
CentOS 7.0默认使用的是firewall作为防火墙
1、查看防火墙状态
firewall-cmd --state
2、停止firewall
systemctl stop firewalld.service
3、禁止firewall开机启动
systemctl disable firewalld.service
我的linux系统是centos7,防火墙默认是运行的。
需要关闭防火墙
关掉防火墙之后可以正常访问