Created 02-06-2017 04:14 PM
I have downloaded HDP2.5 virtual box and running in VM Workstation player. I have also added host entry 127.0.0.1 sandbox.hortonworks.com to hosts file in windows\system32\drivers\etc\hosts.
still I am not able to use Virtual box through my laptop's browser (Host computer) and getting below message:
The site can't be reached. 127.0.0.1 refused to connect. It seems 127.0.0.1 connection is redirecting to my PC itself not to virtual box.
Created 02-06-2017 05:40 PM
Ideally Ambari IP address starts with 192.xxx.xx.xxx
can I see the screen shot of your VM with IPs?
Created 02-06-2017 05:49 PM
Simply adding the IP 127.0.0.1 in your desktop isn't enough or the correct method.
Firstly make sure to choose the correct VM network settings, then after logging to the VM cli as root,run
# ifconfig
The IP you get from the above command is the one you enter in the hosts file with the FQDN of your sandbox as you did before .
Have a look at the attached document. Then from putty you can access your sandbox as the hostname or IP will resolve it the entry in the \windows\system32\drivers\etc\hosts is correct.
Hope that helps
Created 02-15-2017 07:58 PM
Thanks @Divakar Annapureddy @Geoffrey Shelton Okot : Issue has solved now.
@Geoffrey Shelton Okot Documents shared by you is really useful.
Created 07-10-2020 04:17 PM
I wanted to offer to play with IP but users have already advised above
Created 07-11-2020 03:37 AM
Can you elaborate what you wanted to implement?