Visual RFC.
ALL RFCs / RFC 8336
Read the RFC ↗
RFC 8336 / HTTP/2 ORIGIN

Use the actual alternative-service port

05

An alternative service may answer an origin on a different network port. The first ORIGIN uses the actual connection port when it builds the initial origin.

RFC 8336 · § 2.3EXAMPLE
5 / 5
05
Alt-Svc leaves this set alone.

A subsequent Alt-Svc advertisement for a different endpoint does not add or remove Origin Set members. The two existing members remain; no 9443 origin is automatically inserted.

Use the actual alternative-service portA subsequent Alt-Svc advertisement for a different endpoint does not add or remove Origin Set members. The two existing members remain; no 9443 origin is automatically inserted.Alt-Svc does not change this setTarget: https://menu.example (port 443)ClientAlternative serviceSNI menu.example · actual remote port 8443Origin Sethttps://menu.example:8443https://menu.exampleAlt-Svc advertisement: set unchangedNo automatic https://menu.example:9443 member

Source for this drawing: RFC 8336 · Read RFC section 2.3 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
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.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

The intended origin may need an explicit entry even after the connection has served it.

  • In this example, requests target https://menu.example (port 443), while the h2 alternative service is reached on port 8443. SNI still names menu.example.
  • After the first accepted ORIGIN, the initial origin is https://menu.example:8443. It does not by itself cover https://menu.example.
  • The server needs to explicitly advertise https://menu.example in ORIGIN to include that intended origin. Appropriate authority/certificate checks still apply.
  • An Alt-Svc advertisement does not modify the Origin Set or establish authority. The two mechanisms have different effects.
DETAILS

This follows the alternative-service example in RFC 8336 § 2.3 and the separation in § 2.4; RFC 7838 is a source companion, not a claimed update edge. Offline fictional examples only. The illustrations assume certificate-check results; they do not perform those checks. MUST, SHOULD and MAY retain their RFC meanings; SHOULD exceptions require carefully weighing the implications.

Read the RFC section ↗

All chapters in RFC 8336

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗