# Setting Network Server properties

You can specify Network Server properties in three ways:

- On the command line
- In the `.bat` or `.ksh` files (loading the properties by executing `java -D`)
- In the `derby.properties` file.

Properties in the command line or in the `.bat` or `.ksh` files take precedence over the properties in the `derby.properties` file. Arguments included on commands that are issued on the command line take precedence over property values.

- derby.drda.host property
- derby.drda.keepAlive property
- derby.drda.logConnections property
- derby.drda.maxThreads property
- derby.drda.minThreads property
- derby.drda.portNumber property
- derby.drda.securityMechanism
- derby.drda.sslMode property
- derby.drda.startNetworkServer property
- derby.drda.streamOutBufferSize property
- derby.drda.timeSlice property
- derby.drda.traceAll property
- derby.drda.traceDirectory property

Parent topic: Managing the Derby Network Server
Related concepts
Overview
Related tasks
Verifying Startup