Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

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

More
3 years 9 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
3 years 9 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.156 seconds