ID #1154

How do I change CMDaemon's port?

CMDaemon by default uses the 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, thecmgui front end to CMDaemon will not work unless instructed specifically to use those ports.



  • The port for cmgui can be set in the host field to 8085, by editing the login options:





  • The cmsh front end for Bright Cluster Manager versions 5.2 and greater does not need a port to be specified. For versions 5.1 and less, an alias can be made for cmsh, e.g.:


alias cmsh="cmsh localhost:8085"


and added to .bashrc.

Tags: -

Related entries:

You cannot comment on this entry