Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Can wireshark trace traffic from my local browser to a local .net application I have with a HttpListener? (e.g. local to local)

I can't seem to detect this traffic at the moment with wireshark. Is there a way to do it?

thanks

share|improve this question

1 Answer 1

up vote 0 down vote accepted

See this artical here: http://wiki.wireshark.org/CaptureSetup/Loopback.

Given that you're talking about Windows (.NET assumption) then the short answer is that no, wireshark cannot do this out of the box. This is a limitation of the Windows networking stack, rather than Wireshark itself.

On that page there are workarounds, which include installing a special Loopback adapter (and you could then redirect localhost to the loopback adapter), or using a commercial sniffer, and then opening the file in Wireshark.

share|improve this answer
    
thanks - much appreciated –  GregH Apr 12 '10 at 3:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.