本文共 365 字,大约阅读时间需要 1 分钟。
vim /usr/local/tomcat/conf/server.xml
Connector port="8080" protocol="HTTP/1.1 "修改为Connector port="80" protocol="HTTP/1.1"示例:<Connector port="80" protocol="HTTP/1.1"connectionTimeout="20000"redirectPort="8443" />/usr/local/tomcat/bin/shutdown.sh #关闭服务/usr/local/tomcat/bin/startup.sh #启动服务当如果出现转圈情况,是因为8005端口,没有起来。转载于:https://blog.51cto.com/13451715/2330202