Menu

wireshark/

Monitor all http traffic in wireshark on specific ports

Open wireshark GUI as root user:

sudo wireshark

Start capturing by clicking Capture button and add the following display filter:

http and (tcp.port == 8082 or tcp.port == 8000)
· 29 Mar 2023

Record all traffic on specific port

Create TCP dump of all traffic on localhost on port 8888

sudo tcpdump -i lo "port 8888" -w dump
· 15 Feb 2021