Skip to content

Fix macOS port conflicts in develop.env#199

Open
hehaifengcn wants to merge 2 commits intomainfrom
haifengh/fix-macos-port-conflicts
Open

Fix macOS port conflicts in develop.env#199
hehaifengcn wants to merge 2 commits intomainfrom
haifengh/fix-macos-port-conflicts

Conversation

@hehaifengcn
Copy link
Collaborator

Summary

  • Port 5000 conflicts with AirPlay Receiver on macOS Monterey (12+)
  • Ports 4000, 4001, 5001 can also be claimed by other macOS system services
  • Replaced external ports with values that mirror the internal Temporal/gRPC port scheme for memorability
Variable Old New
TEMPORAL_LEFT_EXTERNAL_PORT 4000 17233
TEMPORAL_RIGHT_EXTERNAL_PORT 5000 27233
PROXY_LEFT_EXTERNAL_PORT 4001 16233
PROXY_RIGHT_EXTERNAL_PORT 5001 26333

Test plan

  • Run docker compose --env-file develop/docker-compose/develop.env -f develop/docker-compose/develop.docker-compose.yaml up on macOS and verify no "port is not available" errors
  • Confirm all services start and smoke test passes

🤖 Generated with Claude Code

@hehaifengcn hehaifengcn requested a review from a team as a code owner February 24, 2026 17:41
Copy link
Contributor

@liam-lowe liam-lowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

hehaifengcn and others added 2 commits February 24, 2026 13:19
Ports 4000/5000/4001/5001 can conflict with macOS system services
(notably AirPlay Receiver on port 5000 since macOS Monterey 12+).
Replace with ports that mirror the internal Temporal/gRPC scheme.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hehaifengcn hehaifengcn force-pushed the haifengh/fix-macos-port-conflicts branch from 14b7936 to 549edbb Compare February 24, 2026 21:19
@hehaifengcn hehaifengcn enabled auto-merge (squash) February 24, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants