What is the default port of Tomcat and how to modify it?

Alibaba cloud Q & A 2022-02-13 06:12:54 阅读数:379

default port tomcat modify

Tomcat What is the default port for , How to modify ?

Take the answer 1:

find Tomcat In the catalog conf Folder

Get into conf Find... In the folder server.xml file

open server.xml file

stay server.xml Find the following information in the file

hold Connector Labeled 8080 Change the port to the port you want

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130612531155.html