I want to remotely access the server for portals via a web browser, below shows how I installed my laptop:
1.generate configuration file
$ jupyter-notebook --generate-config $ cd ~/.jupyter
2.Use the following command to create an SSL certificate (Linux and Windows).
req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
3. Enter the profile configuration file, which is jupyter_notebook_config.py
, a password has been created ..
c = get_config()
4.start $ jupyter-notebook
server
Now you can access your Jupyter laptop at https: // [PUBLIC-IP-ADDRESS]: 9999 .
Launch Notepad:
$ ~ jupyter-notebook [I 16:46:58.627 NotebookApp] Serving notebooks from local directory: /home/user [I 16:46:58.627 NotebookApp] 0 active kernels [I 16:46:58.627 NotebookApp] The Jupyter Notebook is running at: https://SERVER_IP:9999/ [I 16:46:58.627 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
But when I open my browser (at home, the laptop server is in my laboratory) at https: // MY_SERVER_IP: 9999 , the page may not be open. And the Chrome browser returns:
ERR_ADDRESS_UNREACHABLE
What should I do?
source share