Skip to content

Custom Proxy Port Configuration

Warning

Custom configurations may not persist across software upgrades. Please manually check any custom configurations after upgrading the G-Health Server Services.

By default the G-Health Server listens on port TCP 5002 for the communication with the G-Health Clients. If it is desired to change this to a custom port then this can be achieved by editing the appsettings.json in the Proxy subfolder of the install location.

"Kestrel": {
    "Endpoints": {
      "Https": {
        "Url": "https://*:5002",
        "Protocols": "Http2",
        "Certificate": {
          "Location": "LocalMachine",
          "Store": "My",
          "Subject": "Geutebruck Pacific",
          "AllowInvalid": true
        }
      }
    }
  }

In the Kestrel section of the appsettings.json file there will be a line "Url": "https://*:5002", modify the 5002 to your desired port number. Take care that the rest of the syntax remains the same. After saving your changes to the file it will be necessary to restart the GHealth.ProxyService windows service.