Default Port Allocations

The ports through which Caplin Platform components communicate with each other, and with external entities, are defined in configuration files. Here we’ve listed the default port settings that are used in the following situations:

  • when the Caplin Platform is shipped as part of a Caplin Trader install kit.

  • when the Caplin Platform is shipped independently of Caplin Trader.

Default Liberator ports

The following table shows the default port allocations used by Liberator, and the configuration items you can set to change these allocations. When Liberator is shipped as part of a Caplin Trader install kit, the default port allocations are explicitly defined in the configuration files (column A in the table). When Liberator is supplied for use with other client technologies, the port allocations are not defined in the shipped configuration files, so Liberator uses its default values (column B in the table), unless you explicitly change them by adding entries to the configuration files.

For more information on the configuration items, see the Liberator configuration reference pages.

For information about the ports used for connections to the Caplin Management Console, see Caplin Management Console.

HTTP clients

Configuration item: http-port

Caplin Trader default: 50180

Liberator default: 8080

HTTP port 50180/8080 is typically assigned only if Liberator is downstream from a hardware SSL wrapper, otherwise you should normally change the HTTP port to 80 (this allows traffic to pass through an unmodified firewall and be accessible to clients).

HTTPS clients

Configuration item: https-port

Caplin Trader default: 50181

Liberator default: 4443

In live operation, connections from HTTPS clients are typically allocated to port 443 (this allows traffic to pass through an unmodified firewall and be accessible to clients), unless the Liberator is deployed behind port translation hardware.

Socket clients

Configuration item: direct-port

Caplin Trader default: 50182

Liberator default: 15000

This port is typically used in Caplin Platform deployments where the client is not browser-based. It is not normally used in Caplin Trader projects.

Socket clients (SSL)

Configuration item: directssl-port

Caplin Trader default: not used

Liberator default: 15001

This port is typically used in Caplin Platform deployments where the client is not browser-based. It is not normally used in Caplin Trader projects.

To enable client socket connections using SSL, you must set the configuration item directssl-enable.

DataSource port

Configuration item: datasrc-port

Caplin Trader default: 50100

Liberator default: 0

The Caplin Platform default of 0 means that no Integration Adapters can connect to Liberator. To allow such connections, set datasrc-port to a unique non-zero value.

Java RMI registry port

Configuration item: rmi-registry-port

Caplin Trader default: 50120

Liberator default: 1099

Java RMI client port

Configuration item: rmi.client.port

Caplin Trader default: 50130

Liberator default: 1100

Default Transformer ports

The following table shows the default port allocations used by Transformer, and the configuration items you can set to change these allocations. When Transformer is shipped as part of a Caplin Trader install kit, the default port allocations are explicitly defined in the configuration files with the values shown in column A of the table. When Transformer is supplied for use with other client technologies, the port allocations defined in the shipped configuration files are different – see column B of the table.

For more information on the configuration items, see the Transformer configuration reference pages.

For information about the ports used for connections to the Caplin Management Console, see Caplin Management Console.

DataSource port

Configuration item: datasrc-port

Caplin Trader default: 50101

Transformer default: 25010

UDP command interface port 1

Configuration item: udp-port

Caplin Trader default: 50161

Transformer default: 10010

This port is not normally used in Caplin Trader projects.

Java RMI registry port

Configuration item: rmi-registry-port

Caplin Trader default: 50121

Transformer default: 1099

Java RMI client port

Configuration item: rmi-client-port

Caplin Trader default: 50131

Transformer default: 1100