code: public boolean isLocalHostname(String host) {
  		checkState();
  		try {
  			InetAddress[] addresses = InetAddress.getAllByName(host);
  
  			Set<InetAddress> stackAddresses = new HashSet<InetAddress>();
  
  			for (ListeningPoint lp : this.provider.getListeningPoints()) {
  				InetAddress tmp = InetAddress.getByName(lp.getIPAddress());
  				if (tmp != null)
  					stackAddresses.add(tmp);
  			}
  
  			for (InetAddress ia : addresses) {
  				if (stackAddresses.contains(ia))
  					return true;
  			}
  
  		} catch (UnknownHostException e) {
  			if (tracer.isFineEnabled()) {
  				tracer.fine("Unknown host",e);
  			}
  		}
  
  		return false;
  	}
docs: /*
  (non-Javadoc)
  
  @see
  net.java.slee.resource.sip.SleeSipProvider#isLocalHostname(java.lang.
  String)