Ask Your Question

Capturing http traffic

asked 2021-10-04 07:43:25 +0000

Le Frog gravatar image


I am developing a web page and need to check the traffic to and from the web page. Unfortunately, I cannot capture anything on my laptop with my capture filter host and port 44302. is my workstation's IP. The captures works fine, if I do this between 2 hosts on the same segment of the network.

Kind regards, Sam

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-10-04 08:32:24 +0000

grahamb gravatar image

If the web server and the client are on the same host (machine) then the connection will be "short-circuited" and not actually go out the NIC, instead it will be run over the loopback adaptor ( or ::1).

The wiki page Loopback explains the issue, but is seriously out of date for Windows systems. With modern npcap installed you will always see an "Adaptor for loopback traffic capture" in the interfaces list and this can be used to capture the traffic you require. For other Os's there will already be a "lo" (or lo0) virtual interface.

If using Windows I do NOT recommend trying any of the other methods on that page (possibly excepting rawcap), they are obsolete and can cause issues in your networking systems.

edit flag offensive delete link more



Thank you for your answer. Is it so, even when the URL is defined as I do not think that there will be a reverse lookup. Even a reverse lookup will return my hostname:

Server: RT-AC86U-1E78 Address:

Name: WIN11 Address:


Le Frog gravatar imageLe Frog ( 2021-10-04 09:39:35 +0000 )edit

It does for me on Win10 using Chrome as a client. Try capturing on the "Adaptor for loopback traffic capture".

grahamb gravatar imagegrahamb ( 2021-10-04 09:49:20 +0000 )edit

Thanks. I will.

Le Frog gravatar imageLe Frog ( 2021-10-04 11:41:43 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-10-04 07:43:25 +0000

Seen: 201 times

Last updated: Oct 04 '21