private void unPublishPort() { // unregister with epmd OtpEpmd.unPublishPort(node); // close the local descriptor (if we have one) closeSock(node.getEpmd()); node.setEpmd(null); }
/** * Unregister the server node's name and port number from the Erlang port * mapper, thus preventing any new connections from remote nodes. */ public void unPublishPort() { // unregister with epmd OtpEpmd.unPublishPort(this); // close the local descriptor (if we have one) try { if (getEpmd() != null) { closeEpmd(); } } catch (IOException) /* ignore close errors */ { } base.epmd = null; }