java org.apache.derby.drda.NetworkServerControl start -h 0.0.0.0
A server that is started with the -h 0.0.0.0 option will listen to client requests that originate from both localhost and from other machines on the network.
However, administrative commands (for example, org.apache.derby.drda.NetworkServerControl shutdown) can run only on the host where the server was started, even if the server was started with the -h option.