title: HDP2.3 : Call to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused;
body: <p>This is little strange but:</p>
  
  <pre><code>hadoop fs -ls /
  </code></pre>
  
  <p>giving:</p>
  
  <pre><code>Call From &lt;hostname&gt; to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
  </code></pre>
  
  <p>but if i am using : <code>hadoop fs -ls hdfs://hostname:8020/</code> , then i am getting proper results.
  I am not able to figure out the issue.Using HDP 2.3 with default configuration.
  How to make <code>hadoop fs -ls /</code> working??</p>