Sponsors

News

Jobping Laurent Kempé MVP JetBrains Academy Member Certified ScrumMaster

Contact

My status

View Laurent Kempé's profile on LinkedIn
XING
twitter
facebook


Xbox 360



Map

Locations of visitors to this page

.NET Dudes

Family

French .NET Dudes

Friends

Jobping

Links

Tech Head Brothers

[Note] - Fiddler localhost

That's just a reminder for me about Fiddler and localhost/127.0.0.1:

I don't see IE7 or .NET traffic sent to localhost or 127.0.0.1.

IE7 and the .NET Framework are hardcoded not to send requests for Localhost through proxies.  Fiddler runs as a proxy.  The workaround is to use your machine name as the hostname instead of Localhost or 127.0.0.1.

So, for instance, rather than hitting http://localhost:8081/mytestpage.aspx, instead visit http://machinename:8081/mytestpage.aspx.  Alternatively, you can use http://localhost.:8081/mytestpage.aspx (note the trailing dot after localhost).  Alternatively, you can customize your Rules file like so:

static function OnBeforeRequest(oSession:Fiddler.Session){
  if
(oSession.host.ToUpper() == "MYAPP") { oSession.host = "127.0.0.1:8081"; }
}

...and then navigate to http://myapp, which will act as an alias for 127.0.0.1:8081.

Posted: Jun 05 2007, 11:21 AM by lkempe | with 5 comment(s)
Filed under: ,

Comments

Boris Yeltsin's Zombie said:

That's a good tip actually - thanks for that :)

# June 5, 2007 5:49 AM

lkempe said:

Another good one from my friend Laurent Duveau (weblogs.asp.net/lduveau - www.techheadbrothers.com/Auteurs.aspx) is to use http://localhost.:8080/, localhost. is the trick, you might read more in french here www.techheadbrothers.com/Astuces.aspx

# June 5, 2007 6:32 AM

Michael Schwarz said:

For all "known issues" see Fiddlertool.com:
# June 5, 2007 8:13 AM

Laurent Duveau said:

Hey! I feel nice I could help!
# June 5, 2007 7:14 PM

何睿 said:

今天使用fiddler的时候出现如下问题:

[Fiddler]

# April 22, 2008 6:01 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)