I found two new tricks to make all these things work together for debugging a Visual Studio Asp.Net web project on Localhost. Here they are:
- Disable IPv6 – This stops the “Fiddler: No connection could be made because the target machine actively refused it” message. (Credit to Mike Ormand) This happens as visual studio will not allow external connections to the “test” server it creates, so all requests must be local.
For some reason it treats fiddler IPv6 connections as external, and therefore nothing works through the fiddler proxy.
- Instead of using localhost, use localhost. <- notice the fullstop / period on the end of the localhost. This makes it look external, so the requests show up in your Fiddler GUI.
And there you go! A working Fiddler session off the Localhost.