Replies: 7 comments 2 replies
-
|
Setup a port forwarding on your ssh connection and force a specific port using the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I should have said that my trame app is in jupyter lab. As such I opened a connection to jupyter on port 8888, however I don't know how to control the port trame wants to use. |
Beta Was this translation helpful? Give feedback.
-
|
Ah, then you should use the proxy infrastructure of Jupyter Lab. Meaning use the port 8888 but with a special url path to go through the jupyter proxy. Can you be more explicit on the full process you are doing/trying-to-do? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, @jourdain I start jupyter as The problem arises if I connect to the jupyter server via an ssh tunnel ( I assume trame connects the client on a random port (46139) but that is not open, hence my error. On the contrary if I am on the same network and I can connect on all ports everything is fine. My code is here https://github.com/paskino/trame-course/blob/cilviewer_jupyter/vtk/Untitled.ipynb it's work in progress, at any rate the lines I am running are from cilviewer_jupyter import iviewer
import vtk
reader = vtk.vtkMetaImageReader()
reader.SetFileName("head_uncompressed.mha")
reader.Update()
iv = iviewer()
iv.setInput(reader.GetOutput())
await iv.ui.ready
iv.ui |
Beta Was this translation helpful? Give feedback.
-
|
Can you install |
Beta Was this translation helpful? Give feedback.
-
|
It's installed |
Beta Was this translation helpful? Give feedback.
-
|
Is this not automatic? https://github.com/Kitware/trame-jupyter-extension#development-install it says that running the below command is for the development mode, and I could not find any other mention of enabling the widget. To be more complete, my example is basically running a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm connecting to a server via an SSH tunnel. Trame uses a port I don't know for it's connections and because that's not forwarded "Firefox can’t establish a connection to the server at localhost:46139."
How do I go about fixing this?
Beta Was this translation helpful? Give feedback.
All reactions