Searched refs:getLoopbackAddress (Results 1 – 10 of 10) sorted by relevance
111 ssc.socket().bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0)); in test_bind_loopback()121 new InetSocketAddress(InetAddress.getLoopbackAddress(), boundAddress.getPort()); in test_bind_loopback()144 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0)); in test_bind$SocketAddress()145 assertEquals(InetAddress.getLoopbackAddress(), in test_bind$SocketAddress()150 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), in test_bind$SocketAddress()
217 addr = getLoopbackAddress(addr.getPort()); in getRevealedLocalAddress()225 addr = getLoopbackAddress(addr.getPort()); in getRevealedLocalAddressAsString()249 private static InetSocketAddress getLoopbackAddress(int port) { in getLoopbackAddress() method in Net250 return new InetSocketAddress(InetAddress.getLoopbackAddress(), in getLoopbackAddress()
411 return InetAddress.getLoopbackAddress(); in getInetAddress()731 in = InetAddress.getLoopbackAddress(); in toString()
766 public static InetAddress getLoopbackAddress() { in getLoopbackAddress() method in InetAddress
713 in = InetAddress.getLoopbackAddress(); in getLocalAddress()
221 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
2891 new URL("https://[" + Inet6Address.getLoopbackAddress().getHostAddress() + "]:"2906 assertEquals("[" + Inet6Address.getLoopbackAddress().getHostAddress() + "]",
90 return InetAddress.getLoopbackAddress().getHostName(); in getHostName()
192 InetSocketAddress addr = new InetSocketAddress(InetAddress.getLoopbackAddress(), port); in getLoopbackAsHostname()
64 loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); in setUp()