Altering the startNetworkServer script

You can modify the startNetworkServer script in any of the following ways:

Specify a port number other than the default (1527) by using the -p <portnumber> option as shown in the following example:java org.apache.derby.drda.NetworkServerControl start -p 1368where 1368 is the new port number. Specify a specific interface (host name or IP address) to listen on other than the default (localhost by using the -h option as shown in the following example: Before using this option, you should run under the Java security manager and enable user authentication.java org.apache.derby.drda.NetworkServerControl start -h myhost -p 1368where myhost is the host name or IP address.

On all interfaces, you can specify a host name, IP address or 0.0.0.0 to listen.