fdac20 / Practice0

First assignment
0 stars 60 forks source link

Still having SSH problems #33

Closed madphill closed 4 years ago

madphill commented 4 years ago

I am able to connect to da2, but I can't point to localhost successfully. Here's my ssh setup: ssh_setup Pointing to port 8888 doesn't work for me, I get this error: 8888_denied Connecting to 8889 works fine for me, so that's what I have in my ssh setup. However, when I point my browser to http://localhost:8889, I get a no data in my browser and a connection refused error on the terminal. Any pointers? localhost_no_data connection_refused

audrism commented 4 years ago

Have you tried -L8889:localhost:8888

and connect via browser to localhost:8889?

I tried your container and it seems to work fine.

You probably already have jupyter running on your laptop, thats why port 8888 can not be reassigned. You can eaiter stop that notebook server or use port 8889. Please keep in mind that on the docker container it jupyter listens on 8888, so -L8889:localhost:8889 connects to nothing.

madphill commented 4 years ago

Ah, thanks for the help! -L8889:localhost:8888 worked for me.