title: How do I connect to an on-premise DB2 database to an application deployed in Bluemix
body: <p>I have a Node.js/JavaScript application deployed to Bluemix. I need my application to be able to connect to a DB2 datasource (connection string shown below).  </p>
  
  <p>The <code>lexbz181112.cloud.dst.ibm.com</code> is an IBM server running on premise. </p>
  
  <p>What steps do I need to take to connect to this datasource from my application (which is running in Bluemix)? I don't want to change any of my application code in order to read/write from the database.</p>
  
  <pre><code>DRIVER={DB2};DATABASE=MYDB;HOSTNAME=lexbz181112.cloud.dst.ibm.com;UID=xxx;PWD=xxx;PORT=nnnnn;PROTOCOL=TCPIP
  </code></pre>