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 Answer 1

1

Try changing in your command from

localhost:8888:localhost:8889

to

8888:localhost:8889.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .