Home >Operation and Maintenance >Windows Operation and Maintenance >How to change the port number 8080 in tomcat
We all know that Tomcat server is a free and open source Web application server. It is a lightweight application server and is commonly used in small and medium-sized systems and situations where there are not many concurrent access users. It is the first choice for developing and debugging JSP programs. But how do we use it?
For a beginner, you can think of it this way: when the Apache server is configured on a machine, it can be used to respond to access requests for HTML (an application under the Standard Universal Markup Language) page. But when we use it, we will encounter port problems. Now let's take a look at how to modify the port number of Tomcat.
First find the Tomcat installation directory:
Then find the server.xml configuration file in the conf folder and Open:
Find such a record in the server.xml file
NextChange the port number 8080 to another port number and save itAfter that,restartTomcat will realize the modification of the port number.
The above is the detailed content of How to change the port number 8080 in tomcat. For more information, please follow other related articles on the PHP Chinese website!