# 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
- derby.drda.keepAlive
- derby.drda.logConnections
- derby.drda.maxThreads
- derby.drda.minThreads
- derby.drda.portNumber
- derby.drda.securityMechanism
- derby.drda.startNetworkServer
- derby.drda.streamOutBufferSize
- derby.drda.timeSlice
- derby.drda.traceAll
- derby.drda.traceDirectory

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