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

how to access Virtual box in host computer's browser?

Highlighted

how to access Virtual box in host computer's browser?

New Contributor

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.

5 REPLIES 5
Highlighted

Re: how to access Virtual box in host computer's browser?

@SRI LAL SURANA

Ideally Ambari IP address starts with 192.xxx.xx.xxx

can I see the screen shot of your VM with IPs?

Highlighted

Re: how to access Virtual box in host computer's browser?

Mentor

@SRI LAL SURANA

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

Highlighted

Re: how to access Virtual box in host computer's browser?

New Contributor

Thanks @Divakar Annapureddy @Geoffrey Shelton Okot : Issue has solved now.

@Geoffrey Shelton Okot Documents shared by you is really useful.

Highlighted

Re: how to access Virtual box in host computer's browser?

New Contributor

I wanted to offer to play with IP but users have already advised above

Highlighted

Re: how to access Virtual box in host computer's browser?

Mentor

@BrandonH1987 

Can you elaborate what you wanted to implement?