Windows does not have a loopback interface adapter to capture the traffic on loopback interface (localhost, 127.0.0.1). To overcome this, RawCap tool can be used to capture the traffic on loopback interface.
More on this tool can be read at: http://www.netresec.com/?page=RawCap
It has few limitations such as it cant capture IPv6 traffic and also cant capture TCP traffic in Windows XP, however it works fine on Windows7.
The tool can be downloaded at: http://www.netresec.com/?download=RawCap
It is just an .exe file and can be run straight away. It can also capture traffic on other interfaces such as ethernet or wireless network interfaces.
More on this tool can be read at: http://www.netresec.com/?page=RawCap
It has few limitations such as it cant capture IPv6 traffic and also cant capture TCP traffic in Windows XP, however it works fine on Windows7.
The tool can be downloaded at: http://www.netresec.com/?download=RawCap
It is just an .exe file and can be run straight away. It can also capture traffic on other interfaces such as ethernet or wireless network interfaces.