PingGateway 2024.6

Start and stop PingGateway

Start PingGateway with default settings

Use the following step to start the instance of PingGateway, specifying the configuration directory where PingGateway looks for configuration files.

  1. Start PingGateway:

    • Linux

    • Windows

    $ /path/to/PingGateway-2024.6.0/bin/
    ... started in 1234ms on ports : [8080 8443]

    By default, PingGateway configuration files are located under $HOME/.openig (on Windows appdata\OpenIG). For information about how to use a different location, refer to Configuration location.

  2. Check that PingGateway is running in one of the following ways:

    • Ping PingGateway at and make sure an HTTP 200 is returned.

    • Display the product version and build information at

Start PingGateway with custom settings

By default, PingGateway runs on HTTP, on port 8080, from the instance directory $HOME/.openig.

To start PingGateway with custom settings, add the configuration file admin.json with the following properties, and restart PingGateway:

  • vertx: Finely tune Vert.x instances.

  • connectors: Customize server port, TLS, and Vert.x-specific configurations. Each connectors object represents the configuration of an individual port.

  • prefix: Set the instance directory, and therefore, the base of the route for administration requests.

The following example starts PingGateway on non-default ports, and configures Vert.x-specific options for the connection on port 9091:

  "connectors": [{
    "port": 9090
    "port": 9091,
    "vertx": {
      "maxWebSocketFrameSize": 128000,
      "maxWebSocketMessageSize": 256000,
      "compressionLevel": 4

For more information, refer to AdminHttpApplication (admin.json).

Allow startup when there is an existing PID file

By default, if there is an existing PID file during startup the startup fails. Use one of the following ways to allow startup when there is an existing PID file. PingGateway then removes the existing PID file and creates a new one during startup.

  1. Add the following configuration to admin.json and restart PingGateway:

      "pidFileMode": "override"
  2. Define an environment variable for the configuration token, and then start PingGateway in the same terminal:

    • Linux

    • Windows

    $ IG_PID_FILE_MODE=override /path/to/PingGateway-2024.6.0/bin/
    C:\path\to\identity-gateway-2024.6.0\bin\start.bat appdata\OpenIG
  3. Define a system property for the configuration token when you start PingGateway:

    • Linux

    • Windows

    export ""

Stop PingGateway

Use the script to stop an instance of PingGateway, specifying the instance directory as an argument. If the instance directory isn’t specified, PingGateway uses the default instance directory:

  • Linux

  • Windows

$ /path/to/PingGateway-2024.6.0/bin/ $HOME/.openig
C:\path\to\identity-gateway-2024.6.0\bin\stop.bat appdata\OpenIG
Copyright © 2010-2024 ForgeRock, all rights reserved.