title: Connect to Elasticsearch Heroku database
body: <p>I've set up a starter account on Heroku with a Bonsai elasticsearch add-on. I'm trying to connect to it via a Java application, but can't seem to connect via either Transport Client or the NodeBuilder options that are explained on the elasticsearch documentation pages.</p>
  
  <p>I can run the following CURL to post data:</p>
  
  <pre><code>curl -XPOST http://banyan-7086980.us-east-1.bonsai.io/med/test/hello3 -d '{"title":"Hello world2"}'
  </code></pre>
  
  <p>My current line of thought is this:</p>
  
  <pre><code>    Client client = new TransportClient()
              .addTransportAddress(new InetSocketTransportAddress("http://banyan-7086980.us-east-1.bonsai.io", 9300));
  </code></pre>
  
  <p>But this is not working. What am I missing?</p>