Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

IP takes me to Tomcat Instead of Ambari

avatar
New Contributor

I've been following the Learning the Ropes of the Hortonworks Sandbox tutorial at http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/

The Ambari login link takes me to the wrong page. Step 2.1 in the tutorial says

  • Type ifconfig and look for inet addr: under eth0.
  • Use the inet addr, append :8080 and open it into a browser. It shall direct you to Ambari login page.

Here's how Putty looks for me after I enter the same command.

8739-ifconfig.png

When I enter http://172.17.0.2:8080/ into my browser Chrome says the site can't be reached.

http://127.0.0.1:8080/ brings me to Apache Tomcat/8.0.21

I am running Hortonworks Docker Sandbox in Oracle VM Virtualbox Manager on Windows 7 Enterprise. What should I be doing differently. By now I have restarted the virtual machine and my PC multiple times and I keep getting the same results.

1 ACCEPTED SOLUTION

avatar
Super Collaborator

You’re seeing the effects of the sandbox running as a docker container in a VM on your host. In the image that you uploaded, you have ssh’d into the docker container, which runs in its own network, so that is why you are unable to reach the site at the IP address. However, you should be able to use localhost and get a response from the sandbox.

Before starting the tutorial, with the new sandbox, you should be able to access http://localhost:8888, which will bring you to a to the Sandbox start page. I suggest clicking into the Advanced HDP page. From there you will see links to Ambari and a web-based command line.

View solution in original post

1 REPLY 1

avatar
Super Collaborator

You’re seeing the effects of the sandbox running as a docker container in a VM on your host. In the image that you uploaded, you have ssh’d into the docker container, which runs in its own network, so that is why you are unable to reach the site at the IP address. However, you should be able to use localhost and get a response from the sandbox.

Before starting the tutorial, with the new sandbox, you should be able to access http://localhost:8888, which will bring you to a to the Sandbox start page. I suggest clicking into the Advanced HDP page. From there you will see links to Ambari and a web-based command line.