Hypertext Transfer Protocol version 2 (HTTP2)

Protocol dependencies

  • TCP: Typically, HTTP/2 uses TCP as its transport protocol. The well known TCP port for HTTP/2 traffic is 443 (and 80).



  • Wireshark 1.12 - initial support
  • Wireshark 2.0 - initial HPACK support (header decompression)
  • Wireshark 2.4 - header decompression support now requires external nghttp2 package (true for official Windows/macOS builds).

Example capture file


On the SampleCaptures page, there is also http2-16-ssl.pcapng containing a HTTP2 (draft 16) over SSL capture (with keys) and a link to a TLS 1.3 HTTP/2 capture.

Display Filter

A complete list of HTTP2 display filter fields can be found in the display filter reference

Show only the HTTP2 based traffic: http2

Capture Filter

You cannot directly filter HTTP2 protocols while capturing. However, if you know the TCP port used (see above), you can filter on that one.

Capture only the HTTP2 traffic over the default port (443):

 tcp port 443 

External links


Imported from https://wiki.wireshark.org/HTTP2 on 2020-08-11 23:14:49 UTC