如何让 Firefox 使用代理服务器进行本地主机连接 [英] How to make Firefox use a proxy server for localhost connections

查看:77
本文介绍了如何让 Firefox 使用代理服务器进行本地主机连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在本地机器上有一个 SOCKS 代理将端口 9999 转发到远程开发服务器.我使用与 Firefox 的代理连接,以便我可以访问开发服务器的网络,但我也希望能够将 Firefox 中的本地主机连接转发到远程服务器的 localhost 以连接到在那里运行的各种服务.我已经从无代理"设置中删除了 localhost127.0.0.1 ,但它仍然不起作用.我如何使它工作?

I have a SOCKS proxy forwarding port 9999 on my local machine to a remote development server. I use that proxy connection with Firefox so that I can access the dev server's network, but I also want to be able to forward localhost connections in Firefox to the remote server's localhost to connect to various services running there. I have removed localhost and 127.0.0.1 from the "No proxy for" setting and it still doesn't work. How do I make it work?

推荐答案

除了从无代理"框:在 about:config 中将 network.proxy.allow_hijacking_localhost 设置为 true.

You have to change another setting, in addition to removing localhost and 127.0.0.1 from the "No proxy for" box: set network.proxy.allow_hijacking_localhost to true in about:config.

最近发生了变化.来源:https://bugzilla.mozilla.org/show_bug.cgi?id=1535581

This was changed recently. Source: https://bugzilla.mozilla.org/show_bug.cgi?id=1535581

这篇关于如何让 Firefox 使用代理服务器进行本地主机连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆