Keep ports and prefixes separate
05Brackets separate an IPv6 literal from a port; a slash introduces a prefix length. Text normalization does not prove identity or connectivity.
Two legitimate spellings can compare as the same address after parsing. This does not prove a certificate, an allowed destination, or a reachable host.
Source for this drawing: RFC 5952 · Read RFC section 6 ↗
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Terms in this drawing
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
Preserve the surrounding syntax and the address value.
- An unbracketed address:port is NOT RECOMMENDED because colons already occur inside IPv6 addresses. Bracketed [address]:port SHOULD be used by default unless otherwise specified.
- URI IPv6 literals MUST follow RFC 3986 syntax: square brackets enclose the literal. RFC 5952 address rules apply within those brackets.
- Text prefixes use the same representation method as addresses. The decimal /length counts leftmost prefix bits; canonicalizing text does not clear host bits or verify a network allocation.
RFC 5952 does not define URL authorization or certificate identity checks. Parse and compare address values where appropriate, then perform the application’s actual security checks. A canonical string does not establish that the destination exists. Verified editorial erratum 2498 corrects the explanation to colon usage; no technical requirement changes.
Read the RFC section ↗