问题描述
在最近几次更新Firefox浏览器之后,忽然发现我无法访问本地搭建的网站“localhost”。无论我尝试多少次,页面始终无法加载,只是在不断地旋转加载图标。
Firefox版本:116.0.3(64位)
操作系统:Windows10(64位)
解决方法
1.在Firefox浏览器中,您需要在URL栏中输入about:config,然后按Enter键,引导进入Firefox的配置页面

2.会出现一个警告页面,告知关于使用about:config页面的风险。为了继续,需要点击“接受风险并继续”。

3.在配置页的搜索栏输入network.proxy.allow_hijacking_localhost
4.找到该配置项,双击修改设置为true即可,这是对网络代理设置的一项更改,意味着允许本地主机的网络拦截。

网友评论