public static bool publishPort(OtpLocalNode node) { TcpClient s = null; try { s = r4_publish(node); } catch (IOException) { s = r3_publish(node); } node.setEpmd(s); return s != null; }