Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I try to filter to just show a specific IP address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see any localhost traffic in the logs anyway.

How can I show TCP localhost traffic?

Platform: Windows 7

share|improve this question

migrated from stackoverflow.com Nov 21 '12 at 10:14

This question came from our site for professional and enthusiast programmers.

1  
how exactly are you trying to do this? – Oleksandr Kravchuk Nov 21 '12 at 1:44
    
hsluoyz, you should probably make that an answer, not just a comment. – Guy Harris Sep 4 '15 at 18:19
1  
Please try Npcap: github.com/nmap/npcap, it is based on WinPcap and supports loopback traffic capturing on Windows. After you installed Npcap, you can capture the loopback traffic using Wireshark. – hsluoyz Nov 8 '15 at 8:24
up vote 6 down vote accepted

If you are trying to this on a Windows computer, unfortunately it is not possible out of the box. You will need to install some additional software that will capture data on the loopback interface. Follow the guide at http://wiki.wireshark.org/CaptureSetup/Loopback.

On a Linux computer, you will need to capture from the loopback interface which is lo0 most of the time.

share|improve this answer
    
Actually, on Linux it's lo, with no 0 at the end. On other UN*Xes, you would also capture from the loopback interface, and on most if not all of those other UN*Xes it's lo0. – Guy Harris Sep 4 '15 at 18:18

Although you found the answer before I could respond, you can also use Socket Sniffer, which looks at Winsock calls and monitors network sockets; the download link is at the bottom of the page.

share|improve this answer

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.