飛來紫

waya

   :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
修改 $TOMCAT_HOME\conf\server.xml文件的三處端口定義,修改成末使用的端口

◆修改http访问端口(默认为8080端口)

<Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
port
="8080"
minProcessors
="5"
maxProcessors
="75"
enableLookups
="true"
redirectPort
="8443"
acceptCount
="100"
debug
="0"
connectionTimeout
="20000"
useURIValidationHack
="false"
disableUploadTimeout
="true"   />

◆修改Shutdown端口(默认为8005端口)

<Server port="8005" shutdown="SHUTDOWN" debug="0">

◆修改8009端口

< Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"                                    
port 
="8009"
minProcessors 
="5"
maxProcessors 
="75"
enableLookups 
="true"
redirectPort 
="8443"
acceptCount 
="10"
debug 
="0"
connectionTimeout 
="20000"
useURIValidationHack 
="false" 
protocolHandlerClassName
="org.apache.jk.server.JkCoyoteHandler" />











posted on 2007-02-08 14:13  waya  阅读(410)  评论(0编辑  收藏  举报