diff --git a/src/org/ice4j/ice/harvest/HostCandidateHarvester.java b/src/org/ice4j/ice/harvest/HostCandidateHarvester.java index 6cbef74..298c0ef 100644 --- a/src/org/ice4j/ice/harvest/HostCandidateHarvester.java +++ b/src/org/ice4j/ice/harvest/HostCandidateHarvester.java @@ -102,6 +102,12 @@ public class HostCandidateHarvester { InetAddress addr = addresses.nextElement(); + if (addr.isLoopbackAddress()) + { + //loopback again + continue; + } + if((addr instanceof Inet4Address) || !isIPv6Disabled) { IceSocketWrapper sock = null;