I'm trying to capture traffic between a web browser running on my windows 7 machine and a jboss server also running on my machine but wireshark doesn't seem to capture it.
For what it's worth, I've successfully captured the traffic if the web browser is on another machine.
Is this even possible? If so, what am I missing?
Thanks in advance, Tom
PS. Wireshark is also running on my machine.
asked 16 Jun '12, 06:25
As Kurt Mentioned, Wireshark is not the tool to use for sniffing loopback traffic on the Windows platform. As mentioned on the Wireshark wiki's Loopback page that Kurt also provided, you might want to try RawCap. For me, it's been the best solution I've found so far for sniffing Windows loopback traffic.
answered 16 Jun '12, 07:37
Unfortunately you cannot sniff the loopback interface on Windows with Wireshark (WinPCAP).
My preferred tool for web debugging is a proxy called Fiddler.
Fiddler is a good companion to wireshark if you can't sniff the traffic and you need to see the whole communication (URLs, error messages, etc.).
There are also "web debugging" plugins for Firefox (and IE), like Firebug, HttpWatch and others:
And finally, there is Nirsoft SocketSniff, which will show communication on localhost