Can anyone give me an example of a wireshark filter for capturing incoming tcp/ip packets, and another for capturing incoming packets on a specific port?
Here you can find various examples.
For incoming ip packets: ip.src==1.2.3.4 or for packets on specific port tcp.port eq 8080 and you can combine queries with logical operators