title: data sources derby - connection refused
body: <p>I am trying to connect a database with a java project. After reading some tutorials and the course support, I have understood that I need to make a new data source under the Admin Console. </p>
  
  <p>So, I've logged in into the admin console, then navigated to Resources -> JDBC -> Data Sources -> New; filled in the fields and when I am testing the connection, the error I get is this one:</p>
  
  <blockquote>
    <p>Messages  The test connection operation failed for data source MyDB on
    server server1 at node RO2CVG6CNode01 with the following exception:
    java.sql.SQLNonTransientException: java.net.ConnectException : Error
    connecting to server localhost on port 1527 with message Connection
    refused: connect.DSRA0010E: SQL State = 08001, Error Code = 40,000.
    View JVM logs for further details.</p>
  </blockquote>
  
  <p>I don't know where the problem is. Maybe with the Database name: jdbc:derby:D:\MyDB ? Can anyone help me please?
  I've also tried to use only MyDB, after <a href="http://www.myeclipseide.com/documentation/quickstarts/blueedition/blue_websphere_data_source/" rel="noreferrer">this tutorial</a>.<br>
  But still it doesn't work.</p>