How to access Jupyter session in Pycharm from a remote machine

I have Jupyter running in Pycharm 2020.1 Professional on Ubuntu 18.04.   Is it possible to initiate a browser session from another host on the same lan?   What settings should be used?  Currently, I am using the managed server with port 8888.   Accessing the server locally works fine.   Remote access from another machine in the lan does not work.  For example:   http://192.168.1.92:8888 fails with Firefox can’t establish a connection to the server at 192.168.1.92:8888.   I have opened up the firewall via sudo ufw allow 8888.

 

3 comments
Comment actions Permalink

Hello,

 

Please try defining in Settings | Build, Execution, Deployment | Jupyter | Jupyter Servers | Configured Server   the  link to the remote  server  which includes token

 http://host:8888/?token=xxxx 

 

Let me know if it helps. 

0
Comment actions Permalink

I am not trying to connect to another jupyter server, I am trying to use the running instance of Pycharm Jupyter as the server.   I want to connect to it from another machine in my network.  Is that possible?

Thank you

 

0
Comment actions Permalink

I apologize. 

 

I believe, no. As the server is being started on a local loopback IP address. (It can be checked in the Jupyter server log https://www.jetbrains.com/help/pycharm/configuring-jupyter-notebook.html#run-notebook

You are welcome to submit a feature request at https://youtrack.jetbrains.com/issues/PY

Information on how to use YouTrack: https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications

 

0

Please sign in to leave a comment.