[
https://issues.apache.org/jira/browse/DERBY-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505417
]
Dag H. Wanvik commented on DERBY-526:
-------------------------------------
We could fix this partially by recognizing that the IPv6 address has 8
digit groups, so any ninth number (decimal) would have to be the port number.
Then another workaround would be to fully specify the address (not user the
"::" contraction).
Something like 2002:92a::73:115:1527 would still not be unambiguous, though, so
we still need a general solution, maybe something like
'jdbc:derby://[2002:92a:8f7a:13:9:42:73:115]:1527/sample;create=true'
URIs use square brackets from IPv6 addresses, cf.
http://www.ietf.org/rfc/rfc3986.txt
> Network Client URL cannot take the IP Address as host name for IPV6 machines
> ----------------------------------------------------------------------------
>
> Key: DERBY-526
> URL: https://issues.apache.org/jira/browse/DERBY-526
> Project: Derby
> Issue Type: Improvement
> Components: Network Client
> Affects Versions: 10.1.1.0
> Reporter: Kathey Marsden
>
> Network Client can not take the ip adrress as host name for
> IPV6 machines, sicne the ip address for those machines is of the format
> xx:xx:xx:xx:xx:xx:xx:xx:.
> The colons create a problem with our hostname:1527 format.
> The workaround is to use the host name for the server machine instead of the
> ip address
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.