The only change I have made to the B4J code is to change the port number to 51042, the same as what the B4A code uses, then in Windows Firewall I opened the port 51042 for both input and output. I did try changing this back to port 10000 in B4J and added that to the firewall for input, but that still created the same errors.