Changing the default port for iPython notebook server / Jupyter

后端 未结 5 910
盖世英雄少女心
盖世英雄少女心 2021-02-02 07:26

I am trying to run an ipython notebook / jupyter server on a machine behind a firewall. The only port which is open is port 80. So was wondering how I can change the default por

5条回答
  •  南旧
    南旧 (楼主)
    2021-02-02 07:57

    Something is already listening on 80, you cannot bind 2 servers to the same port. Use a proxy that listen to 80, and redirect to your other servers and IPython base on URL, or address. Also don't use 80, use 443, if you are running a public server it should be over TLS for security.

    Note that for any low port number you might need to increase the process privileges to root, potentially using sudo.

提交回复
热议问题