Table of Contents |
---|
Use the
...
SCHEDULER_HTTP_PORT and SCHEDULER_HTTPS_PORT environment variables
- It is also possible to set the HTTP and HTTPS port ports with command line options but we recommend to use using environment variables.
- For To do this create an a script for each Agent instance (the instance script) in which environment variables are set before the startscript start script is called.
- How to create and an instance script and which environment variables can be set is described in JobScheduler Universal Agent - Running multiple instances
Indicating which network interfaces should listen to when using
...
HTTP
- The value of the environment variable
SCHEDULER_HTTP_PORT
of the instance script can have the formSCHEDULER_HTTP_PORT=[ip address or hostname:]port
- If only a port is specified then the JobScheduler Agent listens to all available network interfaces.
- This is the same
- as specifying
SCHEDULER_HTTP_PORT=0.0.0.0:port
.
- If a hostname or ip address is specified in addition then it indicates which The network interfaces the JobScheduler Agent should listen to can be specified by additionallyspecifying a hostname or ip address.
Indicating which network interfaces should listen to when using
...
HTTPS
- The value of the environment variable
SCHEDULER_HTTPS_PORT
of the instance script can have the formSCHEDULER_HTTPS_PORT=[ip address or hostname:]port
- If only a port is specified then the JobScheduler Agent listens to all available network interfaces.
- This is the same
- as specifying
SCHEDULER_HTTPS_PORT=0.0.0.0:port
.
- If a hostname or ip address is specified in addition then it indicates which The network interfaces the JobScheduler Agent should listen to can be specified by additionallyspecifying a hostname or ip address.
Requirements
- A HTTP port setting is required for the JobScheduler Agent startscriptstart script.
It is not possible to only use HTTPS only but you can bind "localhost" to the HTTP port.
Code Block SCHEDULER_HTTP_PORT=localhost:4445