Network traffic through a particular port using iftop

Viewed 9809

I have a process using https. I found its PID using ps and used the command lsof -Pan -p PID -i to get the port number it is running on.

I need iftop to see the data transfer. The filter I am using now is iftop -f "port http 57787".

I don't think this is giving me the right output. Can someone help me the right filter to use with iftop so that I know the traffic going through only this port?

1 Answers
Related