Jupyter Lab with SSH tunnel doesn't work – how to fix?

Question:

To launch jupyter lab on a remote server I used:

jupyter lab --no-browser --port=8889

And on my local machine I used:

ssh -N -f -L localhost:8888:localhost:8889 <my_username>@<remote_server_public_ip>   

But when I try to connect to localhost:8888 the it says that:
enter image description here

I tried to refresh and click Try Again but with no success.

Any ideas?

Asked By: Dr. Prof. Patrick

||

Answers:

I contacted my system admin and he told me ssh to the system using srun is actively blocked.

Answered By: Dr. Prof. Patrick