Re: ipv6 and Network Server hostname

2007-09-07 Thread John Embretsen

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



ipv6 and Network Server hostname

2007-09-06 Thread Dave Been
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

2007-09-06 Thread Manjula Kutty
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 [EMAIL PROTECTED] 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

2007-09-06 Thread Dave Been
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
[EMAIL PROTECTED]
Phone 510-222-3926, Cell 928-699-0488



Manjula Kutty [EMAIL PROTECTED] 
09/06/2007 12:38 PM
Please respond to
Derby Discussion derby-user@db.apache.org


To
Derby Discussion derby-user@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 [EMAIL PROTECTED] 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.