Markus/Zhang
The only topic for IPv6 in J2SE 5 JavaDoc I found addresses correct
formatting for v6 spec addresses
Documentation for InetAddress is located at
http://java.sun.com/j2se/1.5.0/docs/api/
which states
For IPv4 address format, please refer to Inet4Address#format;
For IPv6 address format, please refer to Inet6Address#format
With regards to IPv6 the documentation for proper formatting states
The preferred form is x:x:x:x:x:x:x:x, where the 'x's are the hexadecimal
values of the eight 16-bit pieces of the address. This is the full form. For
example,
1080:0:0:0:8:800:200C:417A
Viel Gluck,
Martin--
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and Sender
does not endorse distribution to any party other than intended recipient.
Sender does not necessarily endorse content contained within this
transmission.
Markus Schönhaber wrote:
>
> Your first two questions are in no way Tomcat-specific.
> Anyway...
>
> Ipv6Tomcat wrote:
>> yes,I had installed tomcat 5.0.28 simply in my machine(xp sp2)
>> ,because my computer has deployed ipv4 and ipv6 address, when i install
>> tomcat successfully, I just put the "http://localhost:8080" to
webbrowser
>> to test tomcat.How can i know localhost refer to the ipv6 address?
>
> Use
> netstat -n
> to see the active connections.
> netstat -na
> will also show whether Tomcat has bound to an IPv6 address.
> Or, even simpler, use the numeric IPv6 address in the URL, like
> http://[::1]:8080
>
>> secondly,How can i know my machine use ipv6 address? it seems that
>> ipv4 address is default address(InetAddress.getByName("hostname")
return
>> ipv4,not ipv6 address.).
>
> ipconfig /all
>
> BTW: you might want to take a look at this:
>
http://www.microsoft.com/technet/itsolutions/network/evaluate/technol/tcpipfund/tcpipfund.mspx
>
>> thirdly,i want to know if there is a deployment change for ipv6
>> environment? just modify the deployment file like server.xml etc.
>
> None that I know of.
>
> Regards
> mks
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Hi mks:
Thank you for your detailed reply and sorry to reply you so slowly.May
you have a nice weekend too.
Yea,I have got it according to your suggestions.Thank you ,I am very glad
to
write to you, it is a very good thing for me .I hope I can often
communicate
with you. May you Happy..
Best wishes.
rock.
--
View this message in context:
http://www.nabble.com/Tomcat-5.5-and-IPv6-configuration-tf2033096.html#a5671064
Sent from the Tomcat - User forum at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]