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

I am running Wireshark on my linux machine and i have simple python web server running on localhost:8080

I am capturing only local port 8080. When i open browser on localhost:8080 wireshark captures huge amount of tcp communication (as page loads with all resources) but there`s no HTTP only TCP...

Why i cannot capture HTTP on custom port ?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

Right-click on the TCP stream, then select Decode as.... Go to the Transport tab, if you aren't already on it. From the list, select HTTP. Click OK and enjoy.

Wireshark: Decode As

share|improve this answer
add comment

Why i cannot capture HTTP on custom port

You can capture on a custom port just fine.

I would bet that you are capturing on the wrong interface.

If your requests are going to 127.0.0.1 tcp/8080 and you are capturing on the eth0 interface, then you simply won't see any traffic because eth0 is not the loopback adapter.

Capture on the loopback interface, or capture on the pseudo-interface that combines all interfaces named any.

share|improve this answer
    
i am capturing on lo interface (Ubuntu). –  martin85 May 8 '13 at 1:30
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.