How do I sniff a port using tcpdump?

I used this to check TCP packets coming into my webserver (192.168.0.1) on port 443.

tcpdump -i en0 -I host 192.168.0.1 and port 443

About

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

One thought on “How do I sniff a port using tcpdump?

  1. Pingback: Troyski
%d bloggers like this: