How do I open a remote jupyter notebook with IJulia

If you need to set the port or use the --no-browser option, you should run jupyter yourself, not via the IJulia.notebook() function (which is just a convenience wrapper around running jupyter — it’s not doing anything special).

(I think the default port used by jupyter is 8998, however. So you can normally just do ssh -L 8778:localhost:8998 someremotehost.com, run jupyter notebook --no-browser on the remote host, and then visit localhost:8778 in the browser on your local host.)

4 Likes