We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8366412 commit cf47f90Copy full SHA for cf47f90
Tomcat-Install-And-Settings.md
@@ -17,7 +17,7 @@
17
- 一种方式:先关闭 iptables,防止出现拦截问题而测试不了:`service iptables stop`
18
- 一种方式:在 iptables 中添加允许规则(Tomcat 默认端口是 8080):
19
- 添加规则:`iptables -I INPUT -p tcp -m tcp --dport 8080 -j ACCEPT`
20
- - 保存规则:`/etc/rc.d/init.d/iptables save`
+ - 保存规则:`service iptables save`
21
- 重启 iptables:`service iptables restart`
22
- 测试安装好后的 Tomcat:
23
- 启动 Tomcat:`sh /usr/program/tomcat8/bin/startup.sh ; tail -200f /usr/program/tomcat8/logs/catalina.out`
0 commit comments