Support Questions

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

Docker sandbox-hdp.hortonworks.com:50070: Connection refused (Connection refused

avatar
Explorer

Hello,

Just trying to work through the tutorial, im using the docker version. All was going well, until I got to the "explore Ambari" part. It seems some connections are getting refused, yet Ambari is running fine, and I can access the sandbox through the terminal and stop/start Ambari. Please have a look at the picture below.

46382-capture.png

11 REPLIES 11

avatar
New Contributor

I got the same error and my /etc/servoces looks right, and no datanode being started due to port 50070 is not opened:

[root@sandbox ~]# cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.17.0.2 sandbox.hortonworks.com sandbox
[root@sandbox ~]#

avatar
Super Collaborator

Your /etc/hosts file does not look correct.
According to Learning the Ropes of the HDP Sandbox, the IP address for Docker is 127.0.0.1 and /etc/hosts file should contain something like:


127.0.0.1 sandbox-hdp.hortonworks.com sandbox-hdf.hortonworks.com localhost