pencilCake
pencilCake

Reputation: 53303

What is the magic behind that DOT which makes Fiddler work?

It took me a while to learn that I have to put a dot after the "localhost" in the URL so that I can use fiddler with my development server.

Why do I need to put this dot here to make fiddler work for my local:

http://localhost.:1888/MyPage.aspx

What does it stand for?

thanks

Upvotes: 6

Views: 1314

Answers (2)

atk
atk

Reputation: 9324

It's not that you're making fiddler work, but you're making Internet Explorer work. Internet Explorer is written specifically to bypass the proxy server for "localhost" . By attaching a trailing dot, you're providing a valid DNS name that does not match the mechanism within IE that checks the domain (IE does a stricmp(userdata, "localhost") or equivalant).

Upvotes: 12

RickNZ
RickNZ

Reputation: 18652

localhost. just makes the hostname visible to Fiddler; otherwise, IE bypasses proxies.

You can also substitute "ipv4.fiddler" for "localhost" -- which can help prevent confusion, since the dot is easy to miss.

Upvotes: 0

Related Questions