Changing ihttpd port number

From ISPWiki
Jump to: navigation, search

This article goes you through the steps you need to perform to change the port number for non-local cluster nodes. You can manage a local node without ihttpd, so changing the port number for local cluster node makes no sense.

Follow the steps below to change the port number:

  • edit the cluster node edit form and the required parameter unto the "Port" field:


  • edit the file /usr/local/mgr5/etc/ihttpd.conf on the cluster node:
listen {
       ip 192.168.0.1
       port 1600
}

where ip is the IP address of the cluster node, port is the port number.

  • if you are running Centos, you should edit iptables rules on the cluster node:
iptables -R INPUT 1 -p tcp --dport 1600 -j ACCEPT
service iptables save

and/or (if IPv6 is used):

ip6tables -I INPUT 1 -p tcp --dport 1600 -j ACCEPT
service ip6tables save
  • Run the command below to restart the ihttpd-service on the cluster node:
service ihttpd restart