Home Operation and Maintenance Apache Where to modify the tomcat port number

Where to modify the tomcat port number

Nov 16, 2020 am 11:16 AM
tomcat The port number

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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to deploy jar project in tomcat How to deploy jar project in tomcat Apr 21, 2024 am 07:27 AM

How to deploy jar project in tomcat

How to allow external network access to tomcat server How to allow external network access to tomcat server Apr 21, 2024 am 07:22 AM

How to allow external network access to tomcat server

How to deploy multiple projects in tomcat How to deploy multiple projects in tomcat Apr 21, 2024 am 09:33 AM

How to deploy multiple projects in tomcat

Where is the tomcat installation directory? Where is the tomcat installation directory? Apr 21, 2024 am 07:48 AM

Where is the tomcat installation directory?

Where is the root directory of the tomcat website? Where is the root directory of the tomcat website? Apr 21, 2024 am 09:27 AM

Where is the root directory of the tomcat website?

How to check the number of concurrent connections in tomcat How to check the number of concurrent connections in tomcat Apr 21, 2024 am 08:12 AM

How to check the number of concurrent connections in tomcat

How to check the port number of tomcat How to check the port number of tomcat Apr 21, 2024 am 08:00 AM

How to check the port number of tomcat

How to run two projects with different port numbers in tomcat How to run two projects with different port numbers in tomcat Apr 21, 2024 am 09:00 AM

How to run two projects with different port numbers in tomcat

See all articles