标签:shu usr toc 修改 prot listen tomcat tor png
[root@localhost ~]# vim /usr/local/tomcat8/conf/server.xml
修改处如下:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxThreads="1024" minSpareThreads="100" prestarminSpareThreads="true" />
[root@localhost ~]# netstat -anpt | grep :8080
tcp6 0 0 :::8080 :::* LISTEN 9109/java
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# iptables -F
[root@localhost ~]# /usr/local/tomcat8/bin/shutdown.sh
[root@localhost ~]# /usr/local/tomcat8/bin/startup.sh
修改前
修改后:
标签:shu usr toc 修改 prot listen tomcat tor png
原文地址:https://www.cnblogs.com/cxm123123form/p/11578541.html