Changing web server ports
Follow this task to change the web server port used by the multicluster management console.
Procedure
- Log on to your multicluster primary host as the multicluster administrator operating system account. You can change web server ports as a user if you have the required permissions.
-
Linux® hosts only: set your environment:
- For csh or tcsh, use
cshrc.platform. For example, run:
source /opt/ibm/spectrumcomputing/multicluster/cshrc.platform
- For sh, ksh, or bash, use
profile.platform. For example, run:
. /opt/ibm/spectrumcomputing/multicluster/smc/profile.platform
- For csh or tcsh, use
cshrc.platform.
- If you are using TLS, change the value of the connector
port:
- Edit the server_gui.xml file:
- Windows: %EGO_CONFDIR%\..\..\gui\conf\server_gui.xml
- Linux: $EGO_CONFDIR/../../gui/conf/server_gui.xml
- Change the httpsPort value as desired:
<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="-1" httpsPort="8443"> <httpOptions maxKeepAliveRequests="500" persistTimeout="20s"/> <tcpOptions soReuseAddr="true" /> </httpEndpoint>
- Save your changes.
- Edit the server_gui.xml file:
- Restart the web server for changes to take effect:
egosh service stop WEBGUI egosh service start WEBGUI