You are trying to access the sandbox:8080 from your laptop because localhost:8080 translates to your local windows machine. To be able to access sandbox ambari from your Windows machine, you should have an entry in your hosts file in C:\Windows\System32\drivers\etc with the format IP:FQDN:ALIAS for example
# localhost name resolution is handled within DNS itself. #127.0.0.1 localhost #::1 localhost 127.0.0.1 sandbox.hortonworks.com sandbox
With the above entry assuming you sandbox IP is correctly you can access your cluster through
I followed your suggestion and modified HOSTS file in the C:\Windows\System32\drivers\etc on my Windows 7 machine where the VirtualBox/Sandbox is installed, it still prompts me the 502 error.
Here are the hosts file:
127.0.0.1 sandbox.hortonworks.com sandbox
I used the Windows7 built-in Resource Monitor to inspect which application is using 8080, and it shows VirtualBox:
Since VirtualBox is where the sandbox resides, there is no way for me to terminate it. How do I then access Ambari from localhost?
Thank you very much if you can kindly help me to sort it out at your earliest convenience.
instead of localhost try using the IP address of the server. That should help