[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832717#action_12832717
 ] 

Benjamin Reed commented on ZOOKEEPER-667:
-----------------------------------------

the source of all truth, aka wikipedia 
http://en.wikipedia.org/wiki/IPv6_address notes that for URLs with ipv6 
addresses they use http://[blah:blah::blah]:port. perhaps we should use this 
syntax as well.

btw, i also noticed with some testing that if you bind to ::1, you cannot 
connect to it using 127.0.0.1. binding to 127.0.0.1 you cannot connect using 
::1, but you can use ::ffff:127.0.0.1. binding to ::ffff:127.0.0.1 you can 
connect using 127.0.0.1 and ::ffff:127.0.0.1 but not ::1.

> java client doesn't allow ipv6 numeric connect string
> -----------------------------------------------------
>
>                 Key: ZOOKEEPER-667
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-667
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.2.2
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>            Priority: Critical
>             Fix For: 3.3.0
>
>
> The java client doesn't handle ipv6 numeric addresses as they are colon (:) 
> delmited. After splitting the host/port on : we look for the port as the 
> second entry in the array rather than the last entry in the array.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to