private void broadcastServerInfo() {
        final Communicator comm = sr.getServerComm();
        if (comm != null) {
            StringBuilder sb = new StringBuilder();
            sb.append(DISCOVERY_INFO);
            sb.append(DELIMITER);
            InetAddress address = comm.getAddress();
            try {
                if (InetAddress.getByName("127.0.0.1").equals(address)) {
                    address = InetAddress.getLocalHost();
                }
            } catch (UnknownHostException ex) {
                address = comm.getAddress();
            }
            sb.append(address);
            sb.append(DELIMITER);
            sb.append(comm.getPort());

            try {
                broadcastMessage(sb.toString().getBytes(CHARSET));
            } catch (SocketException ex) {
                LOG.log(Level.WARNING, "Error while checking status of network interfaces");
                LOG.log(Level.FINE, "Error while checking status of network interfaces", ex);
            } catch (IOException ex) {
                LOG.log(Level.WARNING, "Error operating socket.");
                LOG.log(Level.FINE, "Error operating socket.", ex);
            }
        }
    }