tcp.port == 6379
or tcp.port == 6380
as a display filter. We’ll use this in step 4 to view captured packets.
Loopback: lo0
, and not something like Wi-Fi: en0
.
man tcpdump
for more information.
port 6379
, which is the port we’ve configured Wireshark to capture data on.
redis-server --port 6380
to do this.
$4..PING..
and +PONG..
in the captured data.
redis-cli -p 6380 <command>
.