Project

General

Profile

Trouble shooting semccd socket connection » History » Version 7

Anchi Cheng, 11/28/2017 08:11 PM

1 2 Anchi Cheng
h3. Refused socket connection for SERIALEMCCD_PORT
2 1 Anchi Cheng
3 2 Anchi Cheng
If an error of "No connection could be made because the target machine actively refused it" comes up in the above test, it could be one of the two reasons:
4
5
# blocked by firewall
6
# blocked by a still active broken attempt
7 6 Anchi Cheng
# blocked by an unrelated process after system upgrade by Gatan or some automated process
8 2 Anchi Cheng
9
h4. Blocked by Firewall
10
11 5 Anchi Cheng
You should add this to [[ports used by Leginon]] to be added to firewall exception port list if leaving the firewall on.
12 2 Anchi Cheng
13
h4. Blocked by a still active broken attempt
14 1 Anchi Cheng
15
You can check active tcp port with Windows command
16 3 Anchi Cheng
17 1 Anchi Cheng
<pre>
18
netstat
19
</pre>
20
21
* In some case, you will find SERIALEMCCD or similar listed in Windows Task Manager Processing list.  If so, and that process remains after Digital Micrograph is closed, you can terminate it from Task Manager.
22
* CurrPorts is a program that can be used to check and close socket tcp connection with gui.
23 6 Anchi Cheng
24 7 Anchi Cheng
h4. Blocked by an unrelated process
25 6 Anchi Cheng
26 7 Anchi Cheng
After a general software upgrade, it is possible that the upgraded software decided that this is the port it needs and block our connection to the port.  The ports after 49153 is consider free ports for any program to use.  Therefore, the only way for us to solve this problem is to move to another unused port.  Use CurrPorts to find an unused port and assign it should resolve the problem.