Fiddler是个非常不错的抓HTTP包的工具,不过在访问localhost上的页面时,经常会出现无法连接的提示,但换成用ip访问就没问题,解决方法非常简单,在hosts文件里加上一行,定义一下localhost的ip:
127.0.0.1 localhost |
注:hosts文件在 C:\Windows\system32\drivers\etc 下。
本文共 217 字,大约阅读时间需要 1 分钟。
Fiddler是个非常不错的抓HTTP包的工具,不过在访问localhost上的页面时,经常会出现无法连接的提示,但换成用ip访问就没问题,解决方法非常简单,在hosts文件里加上一行,定义一下localhost的ip:
127.0.0.1 localhost |
注:hosts文件在 C:\Windows\system32\drivers\etc 下。
转载于:https://blog.51cto.com/boytnt/776173