让 Fiddler 工作的 DOT 背后有什么魔力?

发布于 2024-08-11 09:59:05 字数 247 浏览 3 评论 0原文

我花了一段时间才知道我必须在 URL 中的“localhost”后面加一个点,以便我可以在我的开发服务器上使用 fiddler。

为什么我需要将此点放在这里以使 fiddler 适用于我的本地:

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

它代表什么?

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏日浅笑〃 2024-08-18 09:59:05

并不是让 fiddler 工作,而是让 Internet Explorer 工作。 Internet Explorer 是专门为绕过“localhost”的代理服务器而编写的。通过附加尾随点,您提供的有效 DNS 名称与 IE 中检查域的机制不匹配(IE 执行 stricmp(userdata, "localhost") 或等效项)。

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).

黯然 2024-08-18 09:59:05

本地主机。只是使主机名对 Fiddler 可见;否则,IE 会绕过代理。

您还可以将“localhost”替换为“ipv4.fiddler”——这有助于防止混淆,因为该点很容易被错过。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文