SigCaptX
Handling Port Conflicts
By default SigCaptX uses a starting port number of 8000 (for the SigCaptX service process). 8001 is used for the first server process, 8002 for the second and so on as required.
This can occasionally cause problems on systems where other applications are also using port numbers in the same range or where firewall or anti-virus software is restricting access to them.
You can determine whether another application or process is listening on port 8000 by running the following command:
netstat -a -o | find "LISTENING" | find ":8000"
The output will be something like this:
TCP 127.0.0.1:8000 wgs-ws-002:0 LISTENING 6020
The above shows that process 6020 is listening on port 8000.
To find out what process 6020 is type in the following:
tasklist | find "6020"
This will produce a result similar to the following:
wgssSigCaptX_Service.exe 6020 Services 0 12,232 K
The above illustrates the desired scenario, i.e. that SigCaptX is listening on port 8000.
If a different process name is shown then that is the one which is causing the conflict.
Don't forget to run the above for port 8001 as well.
If SigCaptX cannot gain access to ports 8000 and 8001 then it will not run.
If the access is being prevented by security software (this has been experienced particularly with Kaspersky and Sophos) then one solution is to change the settings in the security software so that it allows access to those ports.
An alternative solution is to change the port numbers which SigCaptX uses - this requires coding and registry setting changes as described below.
1. Registry settings:
Location:
HKEY_LOCAL_MACHINE\SOFTWARE\Wacom\SigCaptX
- Coding: Please search in your code for the place where a call is made to the start port as follows:
wgssSignatureSDK = new WacomGSS_SignatureSDK(onDetectRunning, 8000);
Having found this line of code change the value "8000" to be the same as the new value which you have set up in the registry for "start_port" above.
So if you have specified a start_port value of 10500 then the code would now read:
wgssSignatureSDK = new WacomGSS_SignatureSDK(onDetectRunning, 10500);