Start two projects on one computer with the same tomcat

If you want to start two projects on the same computer, the two projects need to access each other, but they are the same tomcat, you only need to modify the port.

In one of the projects, click the place of the tomcat configuration information, change the port number to be different from the other one, and then in the base.properties in the other project, modify the link port number to the host and port just modified , restart it. .

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326692532&siteId=291194637