Skip to main content
Ask Question
Asked a question last year

How do I change the default port CMDaemon uses?

Where am I?

In Bright Computing, Inc. you can ask and answer questions and share your experience with others!

How do I change the default port CMDaemon uses? 

CMDaemon by default uses these pair of ports:

8080 and

8081 (for SSL).

To change these ports to other ones, for example:

8084 and

8085 (SSL):

  1. Stop CMDaemon on the headnodes and the nodes:
    service cmd stop
  2. Edit the head node's configuration in /cm/local/apps/cmd/etc/cmd.conf
    Port = 8084
    SSLPort = 8085
  3. Edit each image's configuration /cm/images/<image>/cm/local/apps/cmd/etc/cmd.conf
    Port = 8084
    SSLPort = 8085
  4. Edit the /cm/node-installer/scripts/node-installer.conf configuration
    Port = 8085
  5. Modify the shorewall rules to allow access to port 8085 in the /etc/shorewall/rules file, in the section:
    # -- Allow cluster management traffic from Cluster Manager technical support network to master
    ACCEPT   net            fw              tcp     8085

    After performing these changes and restarting CMDaemon, as well as rebooting the nodes, the BrightView GUI will be available on Port 8085. https://master:8085/bright-view7 for example.