How to set proxy for Jupyter notebook on Windows

Pongsatorn Tonglairoum
1 min readSep 28, 2018

--

A short how-to on setting up http proxy on windows with authentication when running Jupyter notebook inside your company network.

1) Prepare proxy string for environment

# proxy string format with authentication# for plain http url
set HTTP_PROXY=http://<user>:<password>@<proxy server>:<proxy port>
# for https url
set HTTP_PROXYS=http://<user>:<password>@<proxy server>:<proxy port>
# [optional] needed when you don't want to use proxy in some urls
set NO_PROXY="*.yourinteralnetwork.com"

Note: Make sure to encode special character password https://grox.net/utils/encoding.html

2) Apply the it before starting Jupyter notebook server

Start Jupyter notebook

Hope this help!

--

--