Skip to main content
Skip table of contents

GastroPlus Orchestrator Configuration File

This JSON configuration file controls the settings for the GastroPlus Orchestrator service. It defines network parameters, logging behavior, and security settings. The default configuration file is located in C:\ProgramData\Simulations Plus, Inc\GastroPlusOrchestrator\10.2\restConfiguration.json.

User-Customized Configuration File

If it exists, the application will use the configuration file in the user’s AppData folder, specifically in %LOCALAPPDATA%\Simulations Plus, Inc\GastroPlusOrchestrator\restConfiguration.json. Otherwise, the system-wide configuration file will be used.

Configuration Parameters

Parameter (type)

Description

ip (string)

The IP address the server will bind to. Value "0.0.0.0" allows connections from any network interface.

port (integer)

The TCP port number the server will listen on. A value of 0 means the system will automatically select an available port.

enable_logging (Boolean)

When true, server activity will be logged.

log_level (string)

Determines the verbosity of logging. Options from least to most verbose: error, warning, info, and debug.

log_file_path (string)

The full path where log files will be stored. If empty or not provided, logging will be to the console only.

server_cert_file (string)

The file path of the SSL certificate file for secure HTTPS connections.

server_private_key_file (string)

The file path of the private key file used for SSL encryption.

reuse_port (Boolean)

When true, allows multiple processes to share the same port. Typically set to false.

cors_origins (array of strings)

An array of allowed origins for Cross-Origin Resource Sharing (CORS). Empty array means no CORS allowed.

Example

JSON
{
  "httpServer": {
    "ip": "0.0.0.0",
    "port": 0,
    "enable_logging": true,
    "log_level": "info",
    "reuse_port": false,
    "cors_origins": []
  }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.