How to change the ports used to access the PrinterOn Enterprise solution 80 & 443 to something else - c06298965
Using the steps below we can configure the PrinterOn Central Print Services to run on a different port other than 80 and 443
- Stop the Central Print Services (CPS)
- Navigate to the default directory: C:\Program Files (x86)\PrinterOn Corporation\Apache Tomcat\Conf
- Open server.xml
-
Find the line which contains Connector port="80" protocol="HTTP/1.1"
Eg. Connector port="81" protocol="HTTP/1.1" - Change the port to the alternate port other than port 80
- Change the redirect Port value to the alternate value for port 443 (SSL)
-
Find the line which contains Connector port="443" protocol="com.printeron.tomcat.http11.Http11NioProtocol"
Eg Connector port="8443" protocol="com.printeron.tomcat.http11.Http11NioProtocol" - Change the port to match the redirect port or alternate port for 443
- Save changes
- Stop the PON Configuration Manager service
- Navigate to the default directory C:\ProgramData\PrinterOn Corporation\PONData\Configurator
- Open license.ini
-
Locate the serviceURL value and ensure it’s set to https, then change this to reflect the SSL port (alternate SSL port)
Eg. https://192.168.0.40:8443/cps - Save changes
- From the default directory C:\Program Files (x86)\PrinterOn Corporation\Apache Tomcat\Conf,
- Open cps_config.xml
-
Locate the pasApiURI value and change this to reflect the non-SSL port (alternate port to 80)
Eg. <pasApiUri>http://localhost:81/PasServlet/PasServlet</pasApiUri> -
Locate the serviceURL value and ensure it’s set to https, then change this to reflect the SSL port (alternate to 443)
<serviceURL>https://192.168.0.40:8443/cps</serviceURL> -
Locate the imcasBaseUrl value and ensure it’s set to https, then change this to reflect the SSL port you selected in step 7
<imcasBaseUrl>https://127.0.0.1:8443/imcas</imcasBaseUrl> - Save changes applied to the file
- Start the Central Print Services
- Stop the PrintAnywhere Processing Server service and the PrintAnywhere Status Server service
- Navigate to the default directory: C:\ProgramData\PrinterOn Corporation\PONData\PrintAnywhere\Config\User
- Open the ProcessServerConfig.xml and StatusServerConfig.xml
-
Find the licenseServer value in each file and change the IP to reflect the SSL port (alternate to 443)
<licenseServer>192.168.0.40:8443/cps/rest</licenseServer> - Save the files.
NOTE:
Applies to PrinterOn Enterprise 3.x and later.