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
Table of contents background accomplish Supplemen...
This article example shares the specific code of ...
We know that there are two ways to receive incomi...
Preface About the performance comparison between ...
Table of contents 1. What is a directive? Some co...
Get a deep understanding of how the Linux configu...
The operating system for the following content is...
1. As mentioned above I saw this macro when I was...
need: According to business requirements, it is n...
Enable remote access to MySQL By default, MySQL u...
Use blockquote for long citations, q for short ci...
--1. Create a new group and user for mysql # user...
I have read countless my.cnf configurations on th...
Preface In practice, we may encounter such a prob...
Vue3.0 has been out for a while, and it is necess...