Home >Operation and Maintenance >Windows Operation and Maintenance >How to change the port number 8080 in tomcat

How to change the port number 8080 in tomcat

anonymity
anonymityOriginal
2019-04-28 10:08:554927browse

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:

How to change the port number 8080 in tomcat

Then find the server.xml configuration file in the conf folder and Open:

How to change the port number 8080 in tomcat

Find such a record in the server.xml file

How to change the port number 8080 in tomcat

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What software is tomcatNext article:What software is tomcat