The enkapi modules used in the CCP sessions, define which protocol is used to communicate. This entry discusses the use of the enkapi's using the xapi layer.
Ports to open controlled by xapi32.ini file on server
1) The keyword 'PortCtrl' in the xapi32.ini (default is 5001), specifies the UDP port to use.
Normally this port must be opened.
However if the FastConnect feature is used (see below) it is not needed.
2) The keywords 'SrvDataPortMin' and 'SrvDataPortMax' specify the range of incoming TCP ports xapi will use. This range must be opened on the firewall.
With xapi version 2.0.1.5 or higher, a new keyword can be used called 'ReUseDataPort'.
When set to 1, the 'SrvDataPortMin' and 'SrvDataPortMax' can be set to have the same value. This means only this single TCP port needs to be openend. In the new Global Connect release we use following default settings:
ReUseDataPort=1
SrvDataPortMin=7000
SrvDataPortMax=7000
This means only TCP port 7000 must be opened on the firewall.
Notes:
xapi32.dll version 2.0.1.5 or higher, support a new feature called fastconnect. With this method you provide the host and port to connect to, in the connect string.
The format is SESSIONNAME@HOSTNAME:PORT
FastConnect does not depend on the list of servers in the xapi32.ini file nor does it require the UDP port to be opened to find out the port.