Am 26.02.2011 um 21:24 schrieb John R Pierce:
On 02/26/11 12:12 PM, Always Learning wrote:
Because : is sometimes used in an address to indicate the start of a port number, examplehttp://www.anyonejunk.com:1234, the IP6 address can be enclosed within [ ] with the port number remaining outside the square brackets.
Thats, MUST be enclosed within []... without those [ ], how would you resolve
http://21DA:00D3::00FF:FE28:8080
is that... http://%5B21DA:00D3:0000:0000:0000:00FF:FE28:8080] or http://%5B21DA:00D3:0000:0000:0000:0000:00FF:FE28%5D:8080
? Both of those are valid IPv6 addresses
if anything, I'd put the blame on this squarely on the committee that decided to use : as the IPv6 seperator when it was already in wide use as the URL port separator.
With IPV6, you don't need to run it on a different port. Just bind it to a different IP in the same prefix ;-) So, that port-8080 stuff will be gone pretty soon. In a year or two. Cough-cough.