udpport - specifies port for UDP communication
The udpport directive specifies which port Heartbeat will use for its UDP intra-cluster communication. There are two common reasons for overriding this value: there are multiple bcast clusters on the same subnet, or this port is already in use in accordance with some locally-established policy.
The default value for this parameter is the the port ha-cluster in /etc/services (if present), or 694 if port ha-cluster is not in /etc/services. 694 is the IANA registered port number for Heartbeat (a.k.a. ha-cluster).
A sample udpport directive is shown below.
udpport 694
You have to configure udpport (in ha.cf) before you configure ucast or bcast, if not heartbeat will use the default port (694)
NOTE: The GUI doesn't use UDP, and isn't intracluster communications, so GUI communication is not affected by this directive.
BUGS: Due to a specification error in the syntax of the mcast directive, this directive does not apply to mcast communications.
