Brownsblogging

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

Sunday, February 07, 2010

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

posted @ Sunday, February 07, 2010 9:58 AM | Feedback (1) | Filed Under [ tools ]

Powered by: