Problem Description | Running a Job in Studio with remote Target Exec shows the following refused connection: [statistics]connecting to socket on port 3615
[statistics] connection refused
...
Unable to connect to xx.xxx.xxx.x on port 3615 The IP address of the Studio machine is xx.xxx.xxx.x, which is assumed to be accessible from the JobServer machine. |
Problem root cause | Because you are running the Job with statistics enabled, Studio picks a random port in a configured range (in this case, 3615), and provides it to JobServer to use to send statistics to Studio. However, JobServer can't use this port because it is either not open or there is a security restriction on the JobServer machine. |
Solution or Workaround | Disable statistics by going to the Job Run tab > Advanced settings and clearing the Statistics check box. Or if you need statistics, make sure the port picked up by Studio is open from your JobServer machine. These ports are from a range that you can configure in Studio by going to Preferences > Talend > Run/Debug > Stats port range. |