I am working on a Java project where I make apache Derby Database connections in Netbeans with maven. I want to export project to Raspberry PI, but when i am trying to execute jar file i got an error:
java.sql.SQLNonTransientConnectionException: java.net.ConnectException : Error connecting to server localhost on port 1,527 with message Connection refused.
On local computer database connects normally when I start server manually, if not i got same error.
I understand that i didnt started database server on Raspberry PI, but I can't find where and how to do it..