Starting the Network Server from a Java application

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.

There are two ways to start the Network Server from a Java application.

Related tasks
Altering the startNetworkServer script
Starting the Network Server without using the script
Starting the Network Server on IPv6/Ipv4 dual stack Windows machines