28/08/2017

Jupyter notebook change port public server & run as root


Jupyter notebook run on default IP is 127.0.0.1 (aka localhost), but if your machine has more than one network card, Jupyter cannot bind to the network. We can change IP config with flag --ip, and port with flag --port when run notebook server.



example: jupyter notebook --ip:0.0.0.0 --port=80

You can also run notebook as root user: add flag --allow-root

example: jupyter notebook --allow-root


Không có nhận xét nào:

Đăng nhận xét