How to Change the Default Ports

How to Change the Default Ports

Question

Is there a way to change the default ports (9080 and 9443) that Digital Hive uses?

Answer

The following steps outline how to change the default ports on a Windows server. It is strongly recommended that https be used and not http, and by default, Digital Hive will redirect to https.
  1. From within the Services panel, stop the DigitalHive-node1 service
  2. Using the Windows File Explorer, navigate to <install directory>\DigitalHive\app\node1\tomcat\conf
  3. Edit the theia.properties file
  4. Locate the following lines 
  5. Change the values from 9080 to 80 and 9443 to 443  (or whatever values are desired) 
  6. Save the theia.properties file
  7. Edit the server.xml file 
  8. Locate the following section 
  9. Change the values from 9080 to 80 and 9443 to 443  (or whatever values were used in step 5)
  10. Locate the following entry 
  11. Change the 9443 value to 443 (or whatever value was used in step 5)
  12. Save the server.xml file
  13. From within the Services panel, start the DigitalHive-node1 service
Digital Hive will now be accessible through the new port numbers.