Skip to content

Commit

Permalink
Add solution for Firefox no longer proxying localhost at all
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaars committed Nov 11, 2019
1 parent ab3cd11 commit d884421
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
== HTTP Proxy Setup: The Browser

*Important: Firefox no longer proxies traffic for localhost (127.0.0.1) due to security reasons*.
The are two options to bypass this restriction:

- Use the host name of your machine instead of `localhost`, you can find or add a host name in `/etc/hosts` on Linux and MacOSX and `C:\Windows\System32\drivers\etc` on Windows
- Set the preference `network.proxy.allow_hijacking_localhost` (accessible through the `about:config` page) must be set to `true.
The first option is the preferred one, but it might be that for some reason you are unable to use this option you can fallback to the second one.

{nbsp} +


There are many plugins to manage this, but this will show you how to do this manually in Firefox and Chrome.
This will send all of your traffic to the proxy. Since we haven't set up a trusted cert. yet, that may cause issues with any https requests. More on that in a bit though. Let's stick to basics for now:


=== Firefox Proxy Config

. Go to your Firefox Preferences (Mac, Linux) or Options (Windows) from the menu.
. Go to your Firefox Preferences (Mac, Linux) or Options (Windows) from the menu.`
. Select _Advanced_ on the left
. Select _Network_ in the in Advanced Pane
. Click _Settings_
Expand Down

0 comments on commit d884421

Please sign in to comment.