Support Questions

Find answers, ask questions, and share your expertise

Cannot connect to HDP sandbox 2.6 with VNC

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

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

@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.

New Contributor

no, my computer doesn't use proxy

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...

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.