Error: Address Already in Use When Running Multiple Booster Services on Different Ports because websockets port is not configurable #1495
Labels
bug
Something isn't working
dev-experience
Developer Experience
maintainance
package:cli
Affects the CLI package
provider:local
size: S
Tasks that involve two or three lines of code
Milestone
Bug Report
Current Behavior
When attempting to run two Booster services locally on different ports (3000 and 3001), the first service starts successfully, but starting the second service on port 3001 results in an error. The error message indicates
listen EADDRINUSE: address already in use :::65529
, suggesting a conflict with the WebSocket port, which seems to default to 65529 and does not change when specifying a different HTTP port.Expected Behavior
Each Booster service should start successfully on its designated port without conflicting on the WebSocket port. The expectation is that running multiple Booster services locally should be feasible, with each service operating independently on its respective port.
Possible Solution
A potential solution could involve providing a way to configure the WebSocket port via the CLI, similar to how the HTTP port is set. This would allow different instances of Booster services to use distinct WebSocket ports and avoid conflicts.
The text was updated successfully, but these errors were encountered: