Brownsblogging

kelly brownsberger's blog
posts - 71, comments - 18, trackbacks - 0

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

Fiddler is a great tool for inspecting HTTP traffic.  If you’re building a web services based application or AJAX intensive web application, you’ll need to check this out.  Fiddler has been around for a long time and there’s a lot of good content out on the net about how to use this.  There are several gotchas with this tool – like how it behaves with local addresses (i.e. localhost, 127.0.0.1, etc.).  Be sure to read up on all of that if you’re new to Fiddler.

One lesson I learned today while playing with the latest CTP of ADO.NET Data Services, is disable IPv6 in the Fiddler options.  Having this enabled seems to result in “Connection to localhost failed. Exception Text:  No connection could be made because the target machine actively refused it” errors for local addresses.  Like so:

image

image

Disable IPv6 in the Fiddler options seems to solve this.

image

Looks good now:

image

Hope this helps someone else out there

Print | posted on Sunday, February 07, 2010 9:58 AM | Filed Under [ tools ]

Feedback

Gravatar

# re: Using Fiddler - No connection could be made because the target machine actively refused it

Thanks, I just came up with this exact error and disabling IP6 did the trick!
3/7/2010 11:46 PM | Keith Stenson

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 4 and 3 and type the answer here:

Powered by: