how to locally connect a jupyter notebook on a remote server?

More
4 years 4 months ago #2948 by Guosheng Fu
I searched online a while to locally access jupyter notebook on a remote cluster server, but with no good luck.
Currently, it is only one computing node without MPI.
Maybe you can help me out :)
More
4 years 4 months ago #2949 by Guosheng Fu
The problem is fixed. The issue seems to be the ip address. Here is a working example:
1, login to computer node and run jupyter notebook:
jupyter notebook --no-browser --ip='0.0.0.0'

2, On local machine, run
ssh **cluster_address** -L 8888:<node name>:<node port> -N

3. Go to browser and enter URL: "http://localhost:8888/"

4. When prompted, enter token (from remote notebook's "running at:" url)
Time to create page: 0.114 seconds