-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Summary
Add --dealer-port and --pub-port as CLI arguments to styly-netsync-server, similar to the existing --server-discovery-port argument.
Currently, these ports can only be configured via a TOML config file (--config), but not directly from the command line.
Motivation
When running multiple server instances on a single PC (e.g., for multiple demo contents at a permanent installation site), each instance needs different ports. Having to create a separate TOML config file just to change ports adds unnecessary friction for a very common use case.
Being able to specify ports directly on the command line makes it easy to launch multiple instances:
# Server 1
styly-netsync-server --dealer-port 5555 --pub-port 5556 --server-discovery-port 50001
# Server 2
styly-netsync-server --dealer-port 5557 --pub-port 5558 --server-discovery-port 50002Acceptance Criteria
-
--dealer-port PORTCLI argument added (default: 5555) -
--pub-port PORTCLI argument added (default: 5556) - CLI arguments override config file values (consistent with existing precedence: CLI > config file > defaults)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels