tomcat 修改端口
修改tomcat端口号;
a) 去tomcat安装目录(或者解压目录)下的“conf”文件夹中找到文件“server.xml”(本例:“D:\Program Files\Apache Software Foundation\apache-tomcat-6.0.29\conf”);
b) 找到<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />, 将port="8080"改为其它;
c) 找到<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />,将8009改为其它;
d) 找到<Server port="8005" shutdown="SHUTDOWN">,将8005改为其它;
北卿~~~~