To determine the number of times CONNX attempts a connection to a host server, set the following value:
CONNECTTRIES=3
By enabling this option with the value of 3, CONNX attempts to connect three times if the host displays a "busy" message or returns the message "Connection refused".
Default value = 2.
Note: The option applies to TCP/IP connections only. ConnectTries is the number of connection attempts (calls to the TCP/IP function "connect") before returning a failure on a connection request. One common cause of "Connection refused" is that the listener process has a backlog of connection requests.
Environments: Client, Windows, Unix
Configuration Manager: CONNX Settings; Current Key = CONNX; Key Value/Value Name = CONNECTTRIES
Unix Registry Setting: CONNECTTRIES