tcpdump Activity from a Certain Port

10 Sep 2016

I'm always Googling this: how to use tcpdump to watch traffic on a particular port, so I can debug a rest endpoint or whatever. Here it is:

tcpdump -v -i eth0 'port 8080'