Decode a TCP port using a specific protocol (e.g. HTTP)

tshark

tshark -d tcp.port=={{8888}},{{http}}

click the source code to copy install tshark on any operating system with command-not-found.com