1. 程式人生 > >怎麼修改tomcat埠

怎麼修改tomcat埠

在server.xml檔案中依次查詢並修改埠號:

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

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>

<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>