title: How to bind port to localhost?
body: <p>I have an hadoop defaultFs application run in port 8020, as show with  <code>sudo netstat -tulpn | grep :8020</code>, where <code>10.44.142.19</code> is the internal address,</p>
  
  <pre><code>tcp        0      0 10.44.142.19:8020           0.0.0.0:*                   LISTEN      31680/java 
  </code></pre>
  
  <p>I also opened this port in iptables</p>
  
  <pre><code>target     prot opt source               destination         
  ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:8020 
  </code></pre>
  
  <p>But this port is still blocked.</p>
  
  <p>I guess is the problem of ip address, where <code>10.44.142.19</code> should be <code>127.0.0.1</code>, because I am visiting it from external, right?</p>
  
  <p>How could I solve this? Thanks in advanced.</p>