For work needs, I found a lot of information on the Internet, but all of them were copy and pasted, and did not solve the actual problem. It took me a long time to finally get it done. There are three ways: The first is to call the startup command line with startup parameters 1. Set in conf/server.xml as follows: port="${http.port}" 2. Set in bin/catalina.xml as follows: JAVA_OPTS="JAVA_OPTS" -Dhttp.port='50000'" (the port number you want to set) 3. Restart tomcat 4.IP+port access indicates successful setup 5. Finally, start Tomcat normally. You can see the calling method in the command line through the startup parameters. Summarize This is the end of this article about how to set the port through placeholders in Tomcat (i.e. parameter specification method). For more information about setting the port through placeholders in Tomcat, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Steps for restoring a single MySQL table
>>: vue-element-admin global loading waiting
Operation effect: html <!-- This element is no...
This article example shares the specific code of ...
This article shares the specific code of js to im...
Zero: Uninstall old version Older versions of Doc...
Technical Background Latex is an indispensable to...
To facilitate the maintenance of MySQL, a script ...
Table of contents Initialize computed Dependency ...
Below is the code that Shiji Tiancheng uses to ca...
This article example shares the specific code of ...
Table of contents Problems Redux Toolkit solves W...
Put your own web project in the webapps directory...
To draw a table in HTML, use the table tag tr me...
Routing configuration commands under Linux 1. Add...
question: When developing the Alice management sy...
01. Infinity Font Download 02. Banda Font Download...