You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Dave Been <be...@us.ibm.com> on 2007/09/06 21:05:08 UTC

ipv6 and Network Server hostname

for IPv4 we listen on host 0.0.0.0 in case a machine has multiple NIC 
cards, so we accept connections from all NICs. 
(I believe this was for windows only.   is that correct?)

Is there an equivelent ip for IPv6?

thanks
Dave Been

Re: ipv6 and Network Server hostname

Posted by John Embretsen <Jo...@Sun.COM>.
Dave Been wrote:
> 
> for IPv4 we listen on host 0.0.0.0 in case a machine has multiple NIC 
> cards, so we accept connections from all NICs.
> (I believe this was for windows only.   is that correct?)

No, it is not for Windows only. As far as I know, it should work the same way on 
all operating systems.


-- 
John


Re: ipv6 and Network Server hostname

Posted by Dave Been <be...@us.ibm.com>.
In a round about fashion, we found out to use "::" (2 colons) in v6 for 
0.0.0.0 (v4).
Now it is working fine.

NetworkServerControl serverControl = new 
NetworkServerControl(InetAddress.getByName("::"),1527);

thanks much,

Dave Been
Enterprise Search Development
been@us.ibm.com
Phone 510-222-3926, Cell 928-699-0488



"Manjula Kutty" <ma...@gmail.com> 
09/06/2007 12:38 PM
Please respond to
"Derby Discussion" <de...@db.apache.org>


To
"Derby Discussion" <de...@db.apache.org>
cc

Subject
Re: ipv6 and Network Server hostname






Hi Dave,
 
While doing some testing on the Ipv6 machines, I started the server as
java org.apache.derby.drda.NetworkServerControl start -h 
2002:92a:8f7a:13:9:42:74:19
 
So instead of giving 0.0.0.0 I gave the full IP address. Did the same for 
the localhost also. Hope I answered your question. If you need any more 
information regarding derby on IPv6 please let me know. 
 
Thanks,
Manjula.

 
On 9/6/07, Dave Been <be...@us.ibm.com> wrote: 

for IPv4 we listen on host 0.0.0.0 in case a machine has multiple NIC 
cards, so we accept connections from all NICs. 
(I believe this was for windows only.   is that correct?) 

Is there an equivelent ip for IPv6? 

thanks
Dave Been



-- 
Thanks,
Manjula. 

Re: ipv6 and Network Server hostname

Posted by Manjula Kutty <ma...@gmail.com>.
Hi Dave,

While doing some testing on the Ipv6 machines, I started the server as
java org.apache.derby.drda.NetworkServerControl start -h
2002:92a:8f7a:13:9:42:74:19

So instead of giving 0.0.0.0 I gave the full IP address. Did the same for
the localhost also. Hope I answered your question. If you need any more
information regarding derby on IPv6 please let me know.

Thanks,
Manjula.


On 9/6/07, Dave Been <be...@us.ibm.com> wrote:
>
>
> for IPv4 we listen on host 0.0.0.0 in case a machine has multiple NIC
> cards, so we accept connections from all NICs.
> (I believe this was for windows only.   is that correct?)
>
> Is there an equivelent ip for IPv6?
>
> thanks
> Dave Been




-- 
Thanks,
Manjula.