◷ Reading Time: 4 minutes
In this section you will learn how to run the FlexRule Server. Generally there are two ways of running the server:
- Run as Windows Console
- Run as Windows Service
Running as Windows Console
To run the server nodes, you just need to browse to the location where you have these installed.
Run Master
Locate where you have installed the master node and find the FlexRule.Server.Master.exe file, right click on it and run it as Administrator

Once you’ve done that you will see the screen below:

Run Agent
Locate where you have installed the master node and find the FlexRule.Server.ExecAgent.exe file, right click on it and run it as Administrator


Launching Workbench
To run workbench in your browser you need to know its address when you have set it up. You can check your Master node console to find it:

When you navigate to the http://localhost:9010 address, you can see the Workbench screen:

Running as Windows Service
Installing either master or Execution Agent as a Windows service is simple. What you need to do is:
- Open a command problem as an Administrator
- Go to the Master or Agent folder
- Depending on what node you are installing as a service using either of the following commands
- FlexRule.Server.Master.exe install
- FlexRule.Server.ExecAgent.exe install
For example, the below image shows the installation of Master as a Windows Service:

And then you can manage the Services via Windows Service Management:

Extra Parameters
If you need to know about the other supported parameters, just type ‘help’:
FlexRule.Server.Master.exe help
or for Execution Agent:
FlexRule.Server.ExecAgent.exe help
Troubleshooting Log File
When either of the Masters or Execution Agents run, these write some logging information in the %ProgramData% folder. To see details on any problems encountered, visit the log file at:
%ProgramData%\Pliant Framework\FlexRule Server
And you will find three different folders for the following:
- FlexRule.Server.ExecAgent
- FlexRule.Server.Master
- FlexRule.Server.Configurator
In each of these, logs are organized in folders based on the executable file version.