
Modify Tomcat’s memory configurationĪfter FineReport is deployed into Tomcat, the report project has to execute calculation of reports when you preview reports or click Query, with intermediate data in such calculation stored temporarily in server memory, so the report project occupies server memory when it is running. Save server.xml and restart the second Tomcat. Modify it to 8006: ģ) AJP port, which is by default numbered 8009. Modify it to 8081: Ģ) Close the Tomcat server port, which is by default numbered 8005. The following should be modified:ġ) HTTP port, which is by default numbered 8080. To allow the two Tomcats to run normally, you have to configure a new port for the second Tomcat.įirst of all, find the folder conf under the installation root of the second Tomcat, and then open server.xml in the folder with the text editor. Suppose there are two Tomcats on a server and one of the Tomcats uses the default port number 8080. Configure ports when there are multiple Tomcats on a server

If the port number is modified to 80, then the port number can be omitted when accessing Tomcat in other words, directly input the browser to jump to the welcome screen of Tomcat.ģ. To modify the port number of Tomcat, you just need to modify %tomcat_home%\conf\server.xml.įor instance, to modify the port number to 8081, you can open server.xml with the text editor, find the label Connector and modify the port attribute value to “8081”: Configure a port when there is only one Tomcat on a server On a server, if another application occupies port 8080, Tomcat will fail to be started normally, in which case you have to configure a new port for Tomcat.Ģ) If a number of Tomcats run on a server, then you have to configure a separate port for each Tomcat.Ģ.

Ports are distinguished from each other by port numbers and port configuration is to assign a unique port number to an application.ġ) The default port number of Tomcat is 8080.

On a server, each application needs an independent port to ensure normal communication. Ports are endpoints for communication between applications and the outside world.
