Welcome to MSDN Blogs Sign in | Join | Help

Mike Ormond's Blog

In my world, things would be simpler than this...

News

  • Add to Technorati Favorites

    These postings are provided "AS IS" with no warranties, and confer no rights. The use of any script / code samples is subject to the terms specified here.

Fiddler: No connection could be made because the target machine actively refused it

If you use Fiddler and you're running Vista (or IE7 on XP / WS2003), you're probably already aware that requests for localhost will not be sent through a proxy (and Fiddler runs as a proxy to intercept requests). There are various workarounds for this. However every time I rebuild my machine I always end up with a message like this the first time I use Fiddler with Cassini (the Visual Studio Web Server):

[Fiddler] Connection to localhost. failed.
Exception Text: No connection could be made because the target machine actively refused it ::1:51563

And I try the workarounds in known issues and it makes no difference. A quick search around reminded me what I did last time. Disable IPv6 in Fiddler Tools -> Fiddler Options does the trick.

image

Technorati Tags: ,
Posted: Tuesday, January 29, 2008 3:42 PM by MikeOrmond

Comments

Jason Haley said:

# January 30, 2008 10:22 AM

Nathan said:

Thanks!  I had the same problem and amazingly you're the only one I found on google with a solution!

# February 15, 2008 12:14 PM

alikl said:

Mike, you made my day - thanks for the tip!

# February 19, 2008 5:26 AM

code0724 said:

[Fiddler] No connection could be made because the target machine actively refused it

# May 4, 2009 10:52 AM
New Comments to this post are disabled
Page view tracker