2、Tomcat修改端口
Tomcat修改端口
vi conf/server.xml
a:修改http访问端口
将8080 修改为8090
<Connector port="8090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
b:修改shutdown端口
8005 修改为8006
<Server port="8006" shutdown="SHUTDOWN">