Fiddler, Visual Studio and Localhost working together!


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:

  1. 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.
  2. 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.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>