orignal address: http://www.dimensionex.net/en/docs/art008.htm
Tomcat will run by default on TCP/IP port number 8080. Standard web sites use the port number 80 instead. IF you don't have other web servers running on your machine, you may want to change this setting.
This document tells you how to do this on Tomcat version 3.3. Please note : These instructions may not work for other versions of Tomcat.
Let's go!
1. Open the folder tomcat\conf on your computer
2. Now with a text editor you have to open and modify server.xml . Here you have to identify the following line (line 184) and you modify it so that changes from:
| <Http10Connector port="8080 " secure="false" maxThreads="100" maxSpareThreads="50" minSpareThreads="10" /> |
to:
| <Http10Connector port="80 " |
3. Startup the web server and access it now using:
http://localhost/
本文档详细介绍了如何将Apache Tomcat服务器的默认监听端口从8080更改为标准Web服务使用的80端口。适用于Tomcat 3.3版本,通过修改server.xml文件中的Http10Connector配置来实现。
295

被折叠的 条评论
为什么被折叠?



