-
Notifications
You must be signed in to change notification settings - Fork 17
Server Port Offset
The Server Port Offset is a versatile feature enabling the configuration of servers that require specific port increments above a standard port number. It's particularly useful for games or applications with unique networking needs.
Usage: Enter a numeric value to establish the offset. For instance, '1' would increment the server port by one number above the base SERVER_PORT. Use '0' to disable this feature.
Example: If the SERVER_PORT is set to 3000 and the Server Port Offset is 1, the resulting port used will be 3001.
In addition to static values, you can also reference other variables in your offset configuration. This approach allows for dynamic port offset calculations based on other defined settings or variables.
Dynamic Offset Example: To set the QUERY_PORT based on the SERVER_PORT_OFFSET, use the following JSON configuration for default variables: {"QUERY_PORT": "SERVER_PORT_OFFSET"}
. This setting dynamically adjusts the QUERY_PORT based on the calculated offset from the SERVER_PORT.
This dynamic method provides greater flexibility in port configuration, adapting to various requirements and scenarios.
Please read the Wiki page carefully; it contains all the information you need. If you require support, please provide as many details as possible about your issue. Including the module log from WHMCS will also be very helpful.