Note that you should always properly shut down the Network Server after use, because failure to do so might result in unpredictable side-effects, such as blocked ports on the server.
Use the startNetworkServer.bat script to start the Network Server on Windows machines and the startNetworkServer.ksh script to start the Network Server on UNIX systems. These scripts are located in $DERBY_HOME/frameworks/NetworkServer/bin, where $DERBY_HOME is the directory where you installed Derby.
You can run NetworkServerControl commands only from the host that started the Network Server.
$DERBY_HOME\frameworks\NetworkServer\bin\startNetworkserver.bat
The
default system directory is the directory in which Derby was
started. (See the Derby Developer's Guide for
more information about the default system directory.)By default, the Network Server will listen to requests only on the loopback address, which means that it will only accept connections from the local host.