Modify the Tomcat port number method and the tomcat port number

Source: Internet
Author: User

Modify the Tomcat port number method and the tomcat port number

Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/42739693

 

(1) Search for the server. xml file in the conf path. The path is as follows:

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

(2) Open the server. xml file and modify the following information:

Before modification:

After modification:

(3) start tomcat

Start tomcat and execute the startup. bat file,

Path example: I: \ tomcat6 \ apache-tomcat-6.0.32 \ bin \ startup. bat

The display reference is as follows:

(4) Verify the modification of the port number

Open the browser and enter http: \ localhost: 8686 (localhost is the IP address for deploying tomcat, which is deployed on the local machine. Therefore, use localhost and enter 8686 as the port number)

So far, the tomcat port number has been modified.

 

Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/42739693

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.