title: Cannot establish a connection to jdbc:oracle:thin:@localhost:1521:XXX using oracle.jdbc.OracleDriver
body: <p>This is the error message I get when I try to connect my local DataBase to the NetBeans IDE. I hardly have any experience using netbeans either, the URL I used to connect using Oracle thin is:</p>
  
  <pre><code>jdbc:oracle:thin:@localhost:1521:KJT
  </code></pre>
  
  <p>The corresponding error is:</p>
  
  <blockquote>
    <p>Cannot establish a connection to jdbc:oracle:thin:@localhost:1521:KJT using oracle.jdbc.OracleDriver (IO Error: The Network Adapter could not establish the connection).</p>
  </blockquote>
  
  <p>Please help me out.</p>