Hi Yong, issue appears to be related to the connectivity, could you check for the Java Edge SDK logs? If you have setup done in an IDE e.g. Eclipse you could enable more verbose logging and try to debug the connectivity.
What's the significance of EMS log here? How are you using the EMS in your setup with Java Edge SDK?