Thanks for the info!
I made some progress by tweaking the port and timeout settings. I can now get the initial connection working somewhat consistently but the training then fails after about 20 seconds with:
Error waiting for policy from trainer: Communication timeout. Check log for additional errors.