Support Questions

Find answers, ask questions, and share your expertise

Lab 0 - Setup: Start the Sandbox VM and Open Ambari

avatar
Rising Star

Hi,

Could you help me to start working with HDP.

I have downloaded Hortonworks Sandbox with HDP2.3.2_1 and have started the Sandox and got the ip address:-http://127.0.0.1:8888.

I have opened the Google chrome browser with http://127.0.0.1:8888 and got the (get started, try, what's new) page.

Then I opened SSH client @ http://127.0.0.1:4200/ with root username and changed the password. Typed ipconfig and got the ipaddress: 10.0.2.15. I opened the webbrowser with http://10.0.2.15:8080 and gets the message "This webpage is not available". sanbox-login.png. Checked the status of Ambari and it is running(in the attachement).

Could you help me to resolve this and start working with the lab exercise.

Please reply if I have to provide any details.

I am able to login into http://127.0.0.1:8080 with username & password: admin. This works but not from my own session.

Thank you.

1 ACCEPTED SOLUTION

avatar
Rising Star

Hi @Revathy Mourouguessane , you can also try to setup Port Forwarding from VirtualBox ,

Please follow : Click on VirtualBox -> Preferences -> Network (on the left menu bar), select your NAT network (LocalNat) and click the screwdriver icon to the right to edit like we did before when confirming the networking settings for the NAT network. This will bring you back to the NAT networking details window, click on the ‘port forwarding’ button.

You’ll need to setup a rule to forward a port on your local machine to the port of your virtual machine.

Name: Sandbox

Protocol: TCP

Host IP: <blank>

Host Port: 8080

Guest IP: 10.0.2.15 ( as in your case )

Guest Port: 8080

Let me know if it helped you resolve the issue .

View solution in original post

7 REPLIES 7

avatar
Master Mentor
@Revathy Mourouguessane

Hit http://127.0.0.1:8080

admin/admin

You cannot hit http://10.0.2.15:8080

You can ssh in sandbox

ssh -p 2222 root@127.0.0.1

http://hortonworks.com/tutorials/

Start there..

avatar
Master Mentor

@Revathy Mourouguessane I thought the question is on the next step 🙂

You are all set to go and I don't see any issues in your setup. You cannot reach 10. IP from your desktop.

Next step is to become Hadoop expert and those tutorials are good starting point.

avatar
Super Guru

Hi @Revathy Mourouguessane

10.0.2.15 is a NAT network IP and hence you will not be able to access it from your Machine.

Inspite, if you need to browse the Ambari login [http://10.0.2.15:8080] from your browser, then below is what i suggest -

  1. Go to the Sanbox settings
  2. Click on "Network"
  3. Change the network settings from "NAT" to "Bridged Adapter"
  4. Restart network service [service network restart] to take new settings in effect. [Note: if settings are not taking effect you need to Reboot the Sandbox sometimes]
  5. You now see the IP address is changed and which will be in same network as your machine network[windows/linux]
  6. Now try browsing with new ipaddress from your browser.

Also for ssh access as @Neeraj Sabharwal mentioned you need to access using below command -

ssh -p 2222 root@127.0.0.1

Let me know if that works.

avatar
Master Guru

avatar
Master Guru

avatar
Rising Star

Hi @Revathy Mourouguessane , you can also try to setup Port Forwarding from VirtualBox ,

Please follow : Click on VirtualBox -> Preferences -> Network (on the left menu bar), select your NAT network (LocalNat) and click the screwdriver icon to the right to edit like we did before when confirming the networking settings for the NAT network. This will bring you back to the NAT networking details window, click on the ‘port forwarding’ button.

You’ll need to setup a rule to forward a port on your local machine to the port of your virtual machine.

Name: Sandbox

Protocol: TCP

Host IP: <blank>

Host Port: 8080

Guest IP: 10.0.2.15 ( as in your case )

Guest Port: 8080

Let me know if it helped you resolve the issue .

avatar
Explorer

Hi, How to find the guest ip of the system?