Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently, my wireshark can capture traffic from http://localhost (traffic that is on port 80) but it won't capture traffic on localhost:8888

Is there any extra configuration/software that I need for wireshark to capture traffic of localhost on this port? I'm running Ubuntu 9.10

share|improve this question
add comment

3 Answers

In preferences you can set a list of ports that wireshark recognizes as http.

share|improve this answer
    
Yes. What he probably means by "won't capture traffic on localhost:8888" is "isn't showing HTTP traffic to or from localhost:8888", which would, by default, happen because Wireshark doesn't think of port 8888 as an HTTP port. A PF_PACKET socket bound to the lo device, which is what libpcap uses to capture on the loopback device, will see all loopback traffic, regardless of the port, unless you've explicitly specified a capture filter that discards traffic. –  Guy Harris Apr 24 '13 at 1:16
add comment

Try 127.0.0.1:8888 instead, I am at school so I can't test this at the moment but that should work.

share|improve this answer
add comment

What capture and display filters are you using?

Have you tried connecting using your local IP address instead of the loopback interface? That is, try http://192.168.xxx.xxx/ or whatever your local IP is.

share|improve this answer
add comment

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.