hortonworks sandbox connection refuse
<p>i just start to learn <code>hadoop</code> with <code>hortonworks</code> <code>sandbox</code></p>

<p>i have HDP 2.3 on a virtualBox and in the setting i have a <code>Bridged Adapter</code> network and a NAT,</p>

<p>when i start the machine everything is ok i can do some <code>hadoop</code> command i can connect the <code>Ambari</code> at <code>127.0.0.1:8080</code> 
but when i run the script in <code>/etc/lib/hue/tools/start_scripts/gen_hosts.sh</code>
to generate  hosts with a different ip address every thing going wrong and i can't execute a simple <code>hadoop</code> command like <code>hadoop fs -ls /user</code>
i get this error </p>

<pre><code>ls: Call From sandbox.hortonworks.com/10.24.244.85 to sandbox.hortonworks.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
</code></pre>

<p>as i said i just started to learn <code>hadoop</code> and i am not a network expert so i will preciate any help </p>

<p>thank you.</p>