Home

 

SPX addressing

 

WebSphere MQ uses the SPX address of each machine to establish connectivity. The SPX address is specified in the following form:

        network.node(socket)
where

network

Is the 4-byte network address of the network on which the remote machine resides,

node

Is the 6-byte node address, which is the LAN address of the LAN adapter in the remote machine

socket

Is the 2-byte socket number on which the remote machine will listen.

The default socket number used by WebSphere MQ is 5E86. We can change the default socket number by specifying it in the the Windows registry or in the queue manager configuration file qm.ini. The lines in the Windows registry might read:

SPX:
  SOCKET=n

For more information about values we can set in qm.ini, see Configuration file stanzas for distributed queuing.

The SPX address is later specified in the CONNAME parameter of the sender channel definition. If the WebSphere MQ systems being connected reside on the same network, the network address need not be specified. Similarly, if the remote system is listening on the default socket number (5E86), it need not be specified. A fully qualified SPX address in the CONNAME parameter would be:

 CONNAME('network.node(socket)')
but if the systems reside on the same network and the default socket number is used, the parameter would be:
 CONNAME(node)

A detailed example of the channel configuration parameters is given in WebSphere MQ for Windows configuration.

 

Parent topic:

Establishing an SPX connection


ic13130_


 

Home