如何将修改Tomcat的默认端口(8080)到80端口
<port="8080"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
redirectPort="8443"
acceptCount="100"
debug="0"
connectionTimeout="20000"
disableUploadTimeout="true"
/>
修改为
<port="80"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
redirectPort="8443"
acceptCount="100"
debug="0"
connectionTimeout="20000"
disableUploadTimeout="true"
/>
3、重新启动Tomcat
4、在地址栏中输入 http://localhost/index.jsp便可进入到Tomcat首页