# derby.drda.startNetworkServer property

Indicates whether the Network Server will start automatically when you start Derby.

Use the `derby.drda.startNetworkServer` property to simplify embedding the Network Server in your Java application. When you set this property to true, the Network Server will automatically start when you start Derby (in this context, Derby will start when the embedded driver is loaded). Only one Network Server can be started in a JVM.

Note: If you start the Network Server with this property set to true, the Network Server will stop when your application ends or when you stop it by other means (for example, by using the Java API or the command line interface, or by shutting down the Derby system), whichever comes first.

## Syntax

    derby.drda.startNetworkServer={true|false}

## Default

False.

## Example

    derby.drda.startNetworkServer=true

## Static or dynamic

Static. You must shut down the Network Server and restart Derby for this change to take effect.

Parent topic: Setting Network Server properties
Related reference
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 property
derby.drda.sslMode property
derby.drda.streamOutBufferSize property
derby.drda.timeSlice property
derby.drda.traceAll property
derby.drda.traceDirectory property