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. connectionPort should be CONNECTION_PORT). By default, Local Server is configured as follows:
connectionPort: 10002
authenticatedPort: 10003
discoveryKeyword: GateServer
discoveryPort: 10001
discoveryInterval: 5000
broadcastingPort: 11000
enableDiscovery: true
enableInternalAccess: true
enableExternalAccess: true
Meaning of parameters:
connectionPort - port to connect devices and controllers without authentication (from local network)
authenticatedPort - port to connect devices and controllers with authentication (using Remote service)
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
enableInternalAccess - if set to "false", disables unauthenticated access
enableExternalAccess - if set to "false", disables Remote service