Choosing a port number for a Rules Service

Previous Next

On its host computer, each USoft Rules Service must run on (must be listening at) a port number that is dedicated to it. (The same applies to an SFW server - a server defined in the USoft Services Framework.)

For each Rules Service you need, best practice is to make a clear choice between 2 alternatives. One gives you a temporary Rules Service and the other a permanent Rules Service:

 

Temporary Rules Service

Permanent Rules Service

Port number range

10000 - 99999 (5-digit)

1000 - 9999 (4-digit)

Create in Blend with

pc:RunRulesService

pc:ConfigRulesService

Choose port number yourself

No

Yes

Register as Windows service

No

Yes

Stops automatically when script ends

Yes

No

Use cases

USoft Blend scripts, batch processing

Interactive use of USoft application in Production

 

collapseFinding a dedicated port number
collapseAdvantages of temporary Rules Services for USoft Blend
collapseRegistering your Rules Service as a Windows service

 

 

See also

pc:ConfigRulesService

pc:RunRulesService

Rules Services