修改Tomcat的連接埠號碼方法,修改tomcat連接埠號碼

來源:互聯網
上載者:User

修改Tomcat的連接埠號碼方法,修改tomcat連接埠號碼

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/42739693

 

(1)、尋找conf路徑下的server.xml檔案,路徑如:

I: \tomcat6\apache-tomcat-6.0.32\conf\server.xml

(2)、開啟server.xml檔案修改如下資訊:

修改前:

修改後:

(3)、啟動tomcat

啟動tomcat,執行startup.bat檔案,

路徑例如:I:\ tomcat6\apache-tomcat-6.0.32\bin\startup.bat

顯示參考如下:

(4)、驗證連接埠號碼的修改

開啟瀏覽器,地址輸入:http:\\localhost:8686(localhost為部署tomcat的IP,此處為本機部署,因此使用localhost,之後填寫8686為連接埠號碼)

至此,tomcat連接埠號碼修改完成。

 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/42739693

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.