0

I am trying to run a jupyter notebook on remote remote machine user@remote and use it from my local machine. I did

local@host  $ ssh user@remote
password for user@remote: *******
user@remote $ ipython notebook --no-browser --port=8889

On my local machine then I do

local@host  $ ssh -N -L localhost:8888:localhost:8889 user@remote
password for user@remote: *******

when I open this(localhost:8888) in my browser it says

local@host  $ channel 2: open failed: connect failed: Connection refused
1

Try changing in your command from

localhost:8888:localhost:8889

to

8888:localhost:8889.

  • 2
    Why do you think this would help? – RalfFriedl Jan 27 '19 at 17:03
  • Because that's what worked for me.... – tamtam Jan 27 '19 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.