如何让 Firefox 使用代理服务器进行本地主机连接 [英] How to make Firefox use a proxy server for localhost connections
问题描述
我在本地机器上有一个 SOCKS 代理将端口 9999 转发到远程开发服务器.我使用与 Firefox 的代理连接,以便我可以访问开发服务器的网络,但我也希望能够将 Firefox 中的本地主机连接转发到远程服务器的 localhost
以连接到在那里运行的各种服务.我已经从无代理"设置中删除了 localhost
和 127.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屋!