Connectiong to ipv6 does not work
Problem may be here:
def parseUrl(url):
end = url.rfind(':')
start = url.rfind(':', 0, end)
req_port = int(url[start + 1:end])
sub_port = int(url[end + 1:])
address = url[:start]
return address, req_port, sub_port