Problem: message-router and other services were using wrong ports (50051/8080) instead of their configured ports (50052/8082) because mpc.env contained: MPC_SERVER_HTTP_PORT=8080 MPC_SERVER_GRPC_PORT=50051 These global settings in mpc.env were overriding the per-service Environment= settings in systemd unit files, causing port conflicts. Solution: - Remove MPC_SERVER_HTTP_PORT and MPC_SERVER_GRPC_PORT from mpc.env template - Add fix-ports command to remove these settings from existing installations - Add comments explaining per-service port configuration Port assignments: - session-coordinator: gRPC 50051, HTTP 8081 - message-router: gRPC 50052, HTTP 8082 - server-party-1/2/3: HTTP 8083/8084/8085 - account-service: HTTP 8080 To fix existing installation: sudo bash scripts/deploy.sh fix-ports sudo bash scripts/deploy.sh restart 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| backend | ||
| docs | ||
| frontend | ||
| kubernetes | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| README.md | ||
| docker-compose.yml | ||