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 tmuldo |
2 Answers:
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 cmaynard ♦♦ |
Unfortunately you cannot sniff the loopback interface on Windows with Wireshark (WinPCAP).
UPDATE: Check the reference for RawCap in that link (see answer of @cmaynard blow). 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
Regards answered 16 Jun '12, 06:46 Kurt Knochner ♦ edited 16 Jun '12, 08:22 |