Support Questions
Find answers, ask questions, and share your expertise

Difficulty Connecting from localhost to Jupyter Notebook in HDP Sandbox 2.5

Highlighted

Difficulty Connecting from localhost to Jupyter Notebook in HDP Sandbox 2.5

Hello all,

Similar to my other post https://community.hortonworks.com/questions/83966/difficulty-producing-from-localhost-to-kafka-in-hd... (link function doesn't seem to be working)

we seem to be having trouble connecting to applications running in the docker container from our host machines. The problem we are having now is connecting to Jupyter Notebook within the container. I think that it may be due to the authentication token that Jupyter now requires since 4.3.x but not sure.

Here is what I get when I run netstat -ano | findstr "8888 8889"

netstat -ano | findstr "8888 8889"
  TCP    127.0.0.1:8888         0.0.0.0:0              LISTENING       31364
  TCP    127.0.0.1:8889         0.0.0.0:0              LISTENING       31364
  TCP    127.0.0.1:8889         127.0.0.1:51597        TIME_WAIT       0
  TCP    127.0.0.1:8889         127.0.0.1:51607        TIME_WAIT       0
  TCP    127.0.0.1:8889         127.0.0.1:51619        FIN_WAIT_2      31364
  TCP    127.0.0.1:51619        127.0.0.1:8889         CLOSE_WAIT      12900

Trying to hit the same port in the browser with the authentication token doesn't seem to work either (turned firewall off):

This site can’t be reached
The connection was reset.
Try:
Checking the connectionChecking the proxy and the firewallRunning Windows Network Diagnostics
ERR_CONNECTION_RESET

putty telnet http://127.0.0.1:8889

Connection closed by remote host

This problem feels similar to the one that we are having on our other post (see above) so I thought I would post this as well since I didn't see too many questions regarding networking with HDP 2.5 since it moved to a docker container. Just in case other people are having similar issues.

Thank you very much!

T