I am having an intermittent problem with PHD2 failing to connect to equipment when instructed to do so by SGP. The issue arises when I run a sequence. SGP will start PHD2. On some occasions it will fail to connect to the equipment. To get going I need to go into PHD2, connect and then re-run the sequence. It is not a huge problem - but is an irritation. I should say that if I am just running PHD2, I never have an issue connecting to equipment.
I attach a logfile. The issue seems to arise at 23:06:58.790 when the following is reported: [05/21/17 23:06:58.790][DEBUG] [PHD2 Listener Thread] Failed to establish client connection to PHD2 using port 4400: No connection could be made because the target machine actively refused it 127.0.0.1:4400
Link - https://www.dropbox.com/s/x8r0fy5a0gv5ooi/sg_logfile_20170516072153.txt?dl=0