fixed bug, because of IPv4 IPv6 connections
fixed discovery exceptions