[Reprint] Launches multiple Tomcat ports to be modified

Source: Internet
Author: User

Original site: http://blog.csdn.net/lnara/article/details/7687411

I don't know if my friends have ever run into multiple Tomcat launches on a single machine (Don't tell me to start one, there are multiple items on it, I know).

There will be a commodity conflict at startup and the Tomcat port needs to be modified: I'm using the zip version of the direct decompression

A total of 3:

Modify

%tomcat_home%\conf

Under the Server.xml

First: Modify the HTTP access port (default is port 8080)

<port= "8080"  protocol= "http/1.1"                connectiontimeout  = "20000"                redirectport= "8443"/>

(around 69 rows) changes 8080 to the port number that the first Tomcat is not using. The port number you set here is the port number that you will use to access the web later.

Second: Modify the shutdown port (default to 8005 port)

<port= "8005"  shutdown= "shutdown">

(about 22 rows) change 8005 to no port number in use

Third: Modify the port of 8009

<port= "8009"  protocol= "ajp/1.3"  redirectport= " 8443 "/>

(about 90 rows) change the 8009 to a port number that is not in use, such as 8099

[Reprint] Launches multiple Tomcat ports to be modified

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.