Search the Knowledgebase |
Browse by Category |
|
|
|
|
|
| How do I browse to an IPv6 IP |
|
Thank you for rating this answer.
|
How do I browse to an IPv6 IP?
Because of the ":" delimiter, that has been used in the HTTP URI scheme for quite a while, we run in to a slight problem browsing to IPv6 IP's (as they are themselves seperated by ":" characters.) Because of this we must use a new IP-literal for IPv6 IP addresses within a URI (of any sort.)
STD66 (RFC3986 - 3.2.2) provides the IP-literal of: IP-literal = "[" ( IPv6address / IPvFuture ) "]"
RFC2732 (obsoleted by STD66/RFC3986) provides examples with a definition for HTTP URL's, but is obsolete and only covers the HTTP protocol (URL as opposed to URI).
2. Literal IPv6 Address Format in URL's Syntax
To use a literal IPv6 address in a URL, the literal address should be enclosed in "[" and "]" characters. For example the following literal IPv6 addresses:
FEDC:BA98:7654:3210:FEDC:BA98:7654:3210 1080:0:0:0:8:800:200C:4171 3ffe:2a00:100:7031::1 1080::8:800:200C:417A ::192.9.5.5 ::FFFF:129.144.52.38 2010:836B:4179::836B:4179
would be represented as in the following example URLs:
http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html http://[1080:0:0:0:8:800:200C:417A]/index.html http://[3ffe:2a00:100:7031::1] http://[1080::8:800:200C:417A]/foo http://[::192.9.5.5]/ipng http://[::FFFF:129.144.52.38]:80/index.html http://[2010:836B:4179::836B:4179]
|
| Attachments |
|
No attachments were found.
|