title: c9.io - how to find the host address to make a mysql connection in node.js platform
body: <p>I am trying to host my node.js app in <a href="http://c9.io" rel="noreferrer">Cloud 9 Server</a>. In order to make a mysql connection, I need to know the host address.</p>
  
  <p><a href="https://docs.c9.io/setting_up_mysql.html" rel="noreferrer">This page</a>  says in a very absurd (I think I am right ) way :</p>
  
  <pre><code>Hostname    $IP     The same local IP as the application you run on Cloud9
  </code></pre>
  
  <p>But where do I get the local IP from ? Nowhere in the docs I found it. Any idea ?</p>
  
  <p><strong>EDIT :</strong>
  I used 127.0.0.1 , 0.0.0.0( from <code>echo $IP</code> in the terminal as suggested in an answer) and the values  from  <code>hostname -I</code> and  <code>curl curlmyip.com</code> in the terminal. 4 different IP addresses. None worked.</p>