Searched refs:hostAddr (Results 1 – 2 of 2) sorted by relevance
484 public static InetAddress forUriString(String hostAddr) { in forUriString() argument485 Preconditions.checkNotNull(hostAddr); in forUriString()490 if (hostAddr.startsWith("[") && hostAddr.endsWith("]")) { in forUriString()491 ipString = hostAddr.substring(1, hostAddr.length() - 1); in forUriString()494 ipString = hostAddr; in forUriString()502 String.format("Not a valid URI IP literal: '%s'", hostAddr)); in forUriString()
65 InetAddress hostAddr = null; in startListening() local84 hostAddr = InetAddress.getByName(hostName); in startListening()85 serverSocket = new ServerSocket(port, 0, hostAddr); in startListening()