Where to modify the tomcat port number

王林
Release: 2020-11-16 11:16:37
Original
29473 people have browsed it

The tomcat port number is modified in the server.xml file. Specific methods: 1. Enter the conf directory in the tomcat installation directory; 2. Open the server.xml file; 3. Modify the access port number as needed; 4. Restart tomcat.

Where to modify the tomcat port number

Modifying the tomcat port number is generally done in the server.xml file.

(Learning video recommendation: php video tutorial)

The modification method is as follows:

1. Open the Tomcat installation directory and enter the subdirectory conf.

Where to modify the tomcat port number

#2. Find [server.xml] in the [conf] directory.

Where to modify the tomcat port number

3. Open server.xml

4. Modify the Shutdown port

PS: The default port number is 8005

Where to modify the tomcat port number

5. Modify the access port

PS: The default port number is 8080

Where to modify the tomcat port number

6. Modify the 8009 port. Just change 8009 to an unoccupied port number

Where to modify the tomcat port number

7. Restart Tomcat

Related recommendations:apache

The above is the detailed content of Where to modify the tomcat port number. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template