Transport Protocol & Listening Ports

On this step you select the protocol that will be used for exchanging the data between the VSP and the DS. You also choose the listening port number on the side(s) of the link that will be receiving incoming connections from the other side.

cw_1_protocol_ports

In general, we recommend you to stick to the TCP/IP, unless you have a good reason (which is very rare!) to use UDP/IP protocol.

There is one case when the UDP/IP selection is not available and the TCP protocol is pre-selected for you- this is when you have specified an inband access method on the target DS step of the Wizard . Since inband access requires a TCP/IP data connection with the DS you must use TCP/IP transport protocol!

Under What Circumstances Transport Protocol & Port Selection Is Disabled

As noted above, when you use Inband access mode for the wizard, you must use TCP/IP as the transport protocol. Also, port selection will be disabled in this case. At this stage of the Connection Wizard you are already in communication with a DS. The communication is done via the data transport channel of the DS (as opposed to a separate command channel, like in Telnet or out-of-band mode).

The DS is usually far away (somewhere on a WAN), otherwise you would not use inband access to reach it. Thus, there are all sorts of firewalls and gateways between yourself and the DS. Firewalls only allow traffic on certain ports to go through, and UDP packets are often dropped on WANs.

If you change the protocol to UDP now, or change the listening port on the DS, you may render it completely inaccessible. The change will occur, because the Wizard is in communication with the DS (on the proper port which you configured in the beginning). But at the end of the Wizard run, you'll have an unpleasant surprise - the DS may suddenly disappear.

Thus, when selecting Inband Access mode in the beginning of the Wizard, you cannot later change the Transport Protocol or Listening Port.


Listening ports

This screen also provides an option of entering the port number on the listening side(s) of the VSP-to-DS link. By now the Wizard has already decided which side opens the connections . Connecting side needs to know the number of the listening port on the other side. For example, if it is the VSP that will always be connecting to the DS, then you only have to specify the listening port on the DS side. Consequently, the listening port on the DS textbox will be enabled, and the listening port on the PC textbox will be disabled. If both sides will need to establish the connection, then you have to specify the listening ports on both sides too, and both textboxes will be active.

There is one case when the listening port on the DS side is fixed and pre-selected for you- this is when you have specified an inband access method for this DS. In this case you have already specified the listening port (as the access port) on the  target DS step of the Wizard (listening port and the access port are the same for inband mode).

Once the listening port on one side is known, the Wizard sets the destination port on the other side accordingly. If the VSP will need to connect to the DS the destination port on the VSP will be the same, as the value of the Port Number (PN) setting on the DS side. Likewise, if the DS will have to connect to the VSP the Destination Port (DP) setting on the DS will be the same as the local port number on the VSP .

How the listening port numbers are chosen

In most cases the choice of listening ports is automatic so when you get to this step suggested port numbers are already entered by the Wizard .

On the VSP side the number is calculated as 998+ the number of COM. For example, if you are dealing with COM3 then the Wizard will suggest the number of 998+3=1001*. Tying the listening port number to the VSP name provides a simple and effective way of making sure that all VSP s on your system use a different listening port (listening port cannot be shared between the VSP s).

On the DS side you can choose any port of your liking, except the 65535 (65535 is a special command port). What the Wizard is showing you by default is the default value of the Port Number (PN) setting of the DS (1001).

The only reason to change suggested port numbers is if your network's firewall bans most of the traffic so only specific ports are opened for communications. In this case you may need to adjust the port numbers to the requirements of your network.

* There is no any special reason for this, we cannot even remember why we start from 998.