I'm trying to run two instances on different ports. We have tested server.xml and created two connectors but they are not created. The port is listening but when I enter from the browser it says that it does not exist
I'm trying to run two instances on different ports. We have tested server.xml and created two connectors but they are not created. The port is listening but when I enter from the browser it says that it does not exist
It's simple, you only need to consult the configuration file conf / server.xml and add a new connector for the port you want. For example, if you have a connector like this:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8" />
Simply copy the same code by changing the port. Make a restart and you'll have it.
Source: Here