Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use Fiddler to listen to the asp.net development server (i.e. cassini)?

I am attempting to debug a (RESTful) WCF app using Fiddler. I run my project via VS IDE - which launches my app in the ASP.NET Development Server aka Cassini. I then launch Fiddler and in the Request Builder tab enter the following: "http://localhost:1066/GeneralService/sections/summary" with GET as the http method.

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

Is there some way for me to debug an app running on Cassini?

Thanks, Steve

like image 348
Steve Elmer Avatar asked Dec 21 '09 01:12

Steve Elmer


2 Answers

One neat trick is just to add a period(.) after the word localhost. No other config neccesary.

like image 83
PortageMonkey Avatar answered Nov 09 '22 05:11

PortageMonkey


Change the url to http://ipv4.fiddler:1066/GeneralService/sections/summary to enable fiddler to listen on localhost

like image 37
Jon Avatar answered Nov 09 '22 06:11

Jon