We need to change the default port for our ARD Hub installation from the default port of 8080 to another port.
how can we do this?
ARD HUB 3.X
ARD hub uses an Apache Tomcat server that is downloaded and installed during the
deployment of ARD.
During the installation, the client is instructed to copy a server.xml to the Tomact\conf directory.
To change the default port used by ARD HUb you must edit the server.xml file and change the following:
From:
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
maxHttpHeaderSize="65536"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
To:
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
-->
<Connector port="<NEWPORT>" protocol="HTTP/1.1"
maxHttpHeaderSize="65536"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
then restart the Tomcat service