How can I monitor incoming HTTP
requests to port 80
? I have set up web hosting on my local machine using DynDNS
and Nginx
. I wanted to know how many request are made on my server every day.
Currently I'm using this command:
netstat -an | grep 80
Best Answer
You may use
tcpdump
.For a solution using
tshark
see:https://serverfault.com/questions/84750/monitoring-http-traffic-using-tcpdump