Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 11339 invoked from network); 16 Jun 2007 00:56:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2007 00:56:52 -0000 Received: (qmail 7909 invoked by uid 500); 16 Jun 2007 00:56:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 7883 invoked by uid 500); 16 Jun 2007 00:56:50 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 7873 invoked by uid 99); 16 Jun 2007 00:56:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 17:56:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 17:56:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 14DA27141DC for ; Fri, 15 Jun 2007 17:56:26 -0700 (PDT) Message-ID: <32862717.1181955386082.JavaMail.jira@brutus> Date: Fri, 15 Jun 2007 17:56:26 -0700 (PDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Issue Comment Edited: (DERBY-526) Network Client URL cannot take the IP Address as host name for IPV6 machines In-Reply-To: <1769692805.1124492153988.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505417 ] Dag H. Wanvik edited comment on DERBY-526 at 6/15/07 5:55 PM: -------------------------------------------------------------- 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 (i.e. not use the "::" contraction). Something like 2002:92a::73:115:1527 would 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 for IPv6 addresses, cf. http://www.ietf.org/rfc/rfc3986.txt was: 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.