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?
The Firefox proxy settings are in: [Options > General > Network Settings > Configure Proxy Access to the Internet]. To change the proxy configuration or the default on/off state: Disable the extension.
As one uses "localhost" instead of ip it resolved to default ip 127.0. 0.1 and both "localhost" and "127.0. 0.1" are explicitly listed as "no proxy for".
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.
This was changed recently. Source: https://bugzilla.mozilla.org/show_bug.cgi?id=1535581
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With