In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "how linux modifies tomcat port number". In daily operation, I believe many people have doubts about how linux modifies tomcat port number. The editor consulted all kinds of data and sorted out a simple and easy-to-use operation method. I hope it will be helpful to answer the doubt of "how linux modifies tomcat port number". Next, please follow the editor to study!
Methods: 1, use the vim command to enter and edit the "server.xml" file, the syntax is "vim/ installation path / tomcat full name / conf/server.xml"; 2, enter "/ 8080" at the bottom to find the specified port number to modify; 3, after the modification is completed, enter ": wq" to save and exit.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How does linux modify the tomcat port number
Step 1: enter the server.xml file
Method 1: directly enter (server.xml) from the root directory to modify the port number (one step in place)
Vim / installation path / tomcat full name / conf/server.xml
Method 2: first switch to (tomcat/conf) the folder where the configuration is stored, and then (vim server.xml) edit and store the port number configuration file.
Conf: the directory is mainly used to store some configuration files of tomcat
Server.xml: can set port number, set domain name or IP, default loaded project, request code
Step 2: modify the Tomcat port number
Type / 8080 at the bottom to find the following port (can be changed to the port number you specify, 80Universe 8089, etc., default is 8080)
After modifying the underlying command input: wq save exit
Modify the successful test access as shown below:
At this point, the study on "how linux modifies the tomcat port number" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.