rwadurian/backend/mpc-system
Developer ad2790e95e fix(deploy): remove global port settings from mpc.env to fix port conflicts
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>
2025-12-02 01:02:40 -08:00
..
.claude . 2025-11-29 07:14:44 -08:00
api feat: Complete MPC TSS implementation with t-of-n threshold signing 2025-11-29 06:57:53 -08:00
docs docs: Add detailed DDD + Hexagonal architecture documentation 2025-11-29 07:13:38 -08:00
migrations > 2025-11-29 01:35:10 -08:00
pkg feat: Complete MPC TSS implementation with t-of-n threshold signing 2025-11-29 06:57:53 -08:00
scripts fix(deploy): remove global port settings from mpc.env to fix port conflicts 2025-12-02 01:02:40 -08:00
services feat: Complete MPC TSS implementation with t-of-n threshold signing 2025-11-29 06:57:53 -08:00
tests feat: Complete MPC TSS implementation with t-of-n threshold signing 2025-11-29 06:57:53 -08:00
.env.example feat(mpc-system): 优化 Docker 部署配置适配生产环境 2025-12-01 21:59:01 -08:00
MPC-Distributed-Signature-System-Complete-Spec.md > 2025-11-29 01:35:10 -08:00
Makefile > 2025-11-29 01:35:10 -08:00
TEST_REPORT.md > 2025-11-29 01:35:10 -08:00
config.example.yaml feat: Complete production deployment configuration 2025-11-29 04:10:06 -08:00
docker-compose.yml feat(mpc-system): 优化 Docker 部署配置适配生产环境 2025-12-01 21:59:01 -08:00
get-docker.sh > 2025-11-29 01:35:10 -08:00
go.mod feat: Complete MPC TSS implementation with t-of-n threshold signing 2025-11-29 06:57:53 -08:00
go.sum feat: Complete MPC TSS implementation with t-of-n threshold signing 2025-11-29 06:57:53 -08:00