title: got error "java.sql.SQLRecoverableException: IO Error: Socket read timed out" in intellij
body: <p>I'm getting an error in IntelliJ IDEA when im using a thin connection from java to oracle.</p>
  
  <p>My oracle database is in a server and I can ping the server but my code can't establish connection:</p>
  
  <pre><code>        Class.forName("oracle.jdbc.driver.OracleDriver");
          connection = DriverManager.getConnection("jdbc:oracle:thin:@server ip:1521:orcl","user","path");
          System.out.println("Oracle Registered...");
  </code></pre>
  
  <p>and error is:</p>
  
  <pre><code>java.sql.SQLRecoverableException: IO Error: Socket read timed out
  oracle.net.ns.NetException: Socket read timed out
  </code></pre>