Skip to content

Commit

Permalink
Merge pull request #4986 from garrettr/docs-4985-tor-browser-dev-env
Browse files Browse the repository at this point in the history
Update instructions for current version of Tor Browser
  • Loading branch information
redshiftzero authored Nov 10, 2019
2 parents c84884d + 2e13c1a commit 84fc49f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/development/tips_and_tricks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ development. Unfortunately, it is not possible to access the local
development servers by default, due to Tor Browser's proxy
configuration.

To test the development environment in Tor Browser, you need to add an
exception to allow Tor Browser to access localhost:
To test the development environment in Tor Browser, you need to modify Tor
Browser's default settings to prevent localhost from being resolved by the
proxy:

#. Open the "Tor Browser" menu and click "Preferences..."
#. Choose the "Advanced" section and the "Network" subtab under it
#. In the "Connection" section, click "Settings..."
#. In the text box labeled "No Proxy for:", enter ``127.0.0.1``
#. In a new tab, navigate to ``about:config``.
#. Click "I accept the Risk!"
#. In the search bar, enter ``network.proxy.allow_hijacking_localhost``.
#. The default value is true. Double-click to set it to false.

- Note: for some reason, ``localhost`` doesn't work here.
Now you should be able to navigate to ``127.0.0.1:8080`` and ``127.0.0.1:8081``
in Tor Browser. For some reason, you have to use ``127.0.0.1`` -- ``localhost``
doesn't work.

#. Click "Ok" and close the Preferences window

You should now be able to access the development server in the Tor
Browser by navigating to ``127.0.0.1:8080`` and ``127.0.0.1:8081``.
The modified value persists across restarts of Tor Browser.

.. _updating_pip_dependencies:

Expand Down

0 comments on commit 84fc49f

Please sign in to comment.