Project

General

Profile

Trouble shooting semccd socket connection » History » Revision 6

Revision 5 (Anchi Cheng, 02/02/2016 03:36 PM) → Revision 6/7 (Anchi Cheng, 11/28/2017 08:11 PM)

h3. Refused socket connection for SERIALEMCCD_PORT 

 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: 

 # blocked by firewall 
 # blocked by a still active broken attempt 
 # blocked by an unrelated process after system upgrade by Gatan or some automated process 

 h4. Blocked by Firewall 

 You should add this to [[ports used by Leginon]] to be added to firewall exception port list if leaving the firewall on. 

 h4. Blocked by a still active broken attempt 

 You can check active tcp port with Windows command 

 <pre> 
 netstat 
 </pre> 

 * 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. 
 * CurrPorts is a program that can be used to check and close socket tcp connection with gui. 

 h4. Bloacked by an unrelated process 

 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.