Changing the Codux Server Port

As you may know, sometimes there can be conflicts or unexpected behavior can arise on a computer when more than one application or service is trying to use the same server port. For this reason, Codux uses a dynamically-allocated, system-assigned port (localhost) instead of a predefined one for its rendering server to avoid collisions.
To configure a particular port instead, use the httpServerPort configuration key in condux.config.json to configure the server port's numerical value.
Here's an example of using this key in practice:
1
2
3
4
5
{  
    "$schema": "http://wixplosives.github.io/codux-config-schema/codux.config.schema.json",
    ...
    "httpServerPort": 4005
}