Server configuration is stored in ./dist/config.js and - if necessary - can be overriden directly in file, or using environment variables (with parameter names in upper snake case - i.e. httpPort should be HTTP_PORT). By default, Local Server is configured as follows:
httpPort: 8080
connectionPort: 10002
discoveryKeyword: GateServer
discoveryPort: 10001
discoveryInterval: 5000
broadcastingPort: 11000
enableDiscovery: true
Meaning of parameters:
httpPort - port to serve user interface
connectionPort - port to connect devices and controllers
discoveryKeyword - server identifier for discovery
discoveryPort - port to which discovery messages will be delivered
discoveryInterval - interval of sending discovery messages (milliseconds)
broadcastingPort - port used by server to send discovery messages
enableDiscovery - if set to "false", server will not send discovery messages