Support Questions

Find answers, ask questions, and share your expertise

Cannot connect to HDP sandbox 2.6 with VNC

avatar
New Contributor

I followed this tutorial to set desktop for my sandbox https://github.com/hortonworks-gallery/ambari-vnc-service

I run sandbox in VirtualBox from Windows 10.

I forwarded 5901 port in VirtualBox, added it to iptables but VNC client still cannot connect - connection refused. I checked also 5801 and 5901 ports with curl locally on sandbox and I got response but these ports are not available from my Windows machine. Could you help please?

1 ACCEPTED SOLUTION

avatar
New Contributor

Finally I found the problem: I didn't open 5901 port from sandbox to docker.

Here is tutorial which describes in details how to do it:

https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...

View solution in original post

3 REPLIES 3

avatar
@Ihor Dziuba

Are you using VNC on your office computer ? Usually office computer have VPN network and thus Internet proxy settings. You must change VNC settings to use the same proxy.

avatar
New Contributor

no, my computer doesn't use proxy

avatar
New Contributor

Finally I found the problem: I didn't open 5901 port from sandbox to docker.

Here is tutorial which describes in details how to do it:

https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.h...