Outside of performing a fresh installation, there are ways to change the http port by changing the port details in server.xml file. Please follow the below steps
1. Stop the current instance running for Analyze ( stopData3SixtyAnalyze.sh )
Path :<installdir>/bin
2. Replace the port number in the below file
Path :<installdir>/tomcat/conf
File Name : server.xml
Line number : 62,64 and 88
We can do vi on the file name (server.xml) and check the line number with (:set number) to find the exact location of the port where the changes has to be done.
Once done (for e.g replaced port to 8081 from 8081) with the changes please save the file (server.xml).
We can verify the changes if it is done correctly by executing the below command which will demonstrate the number of place the new port number has been provided in the file.
Command: grep -wc "portnumber" server.xml
Example: In the below instance , we have replaced the port to 8081 hence
the command will have port number as 8081.
3. Start the Instance from ( launchData3SixtyAnalyze.sh ) .
Path :<installdir>/bin
4. You can access the New URL with replaced port number now .
Please Note : The changes in the configuration file should always been done with System being stopped (Analyze instance should be shut down)
Comments
0 comments
Please sign in to leave a comment.