X Tutup
Skip to content

feat: Add --chat-server-host option for WebSocket server binding#6609

Open
AusDavo wants to merge 1 commit intosimplex-chat:stablefrom
AusDavo:fix/chat-server-host-binding
Open

feat: Add --chat-server-host option for WebSocket server binding#6609
AusDavo wants to merge 1 commit intosimplex-chat:stablefrom
AusDavo:fix/chat-server-host-binding

Conversation

@AusDavo
Copy link

@AusDavo AusDavo commented Feb 1, 2026

Summary

  • Adds --chat-server-host HOST option to specify the bind address for the WebSocket chat server
  • Defaults to 127.0.0.1 for backwards compatibility
  • Use 0.0.0.0 to bind to all interfaces (useful for Docker/container deployments)

Use Case

When running simplex-chat in a container, the WebSocket server needs to be accessible from outside localhost. Currently this requires patching the binary.

Example

simplex-chat -p 5225 --chat-server-host 0.0.0.0

Test plan

  • Verify --chat-server-host 0.0.0.0 binds to all interfaces
  • Verify default (no flag) still binds to 127.0.0.1
  • Verify existing -p flag still works

Add ability to specify the host address for the WebSocket chat server
to bind to, rather than being hardcoded to 127.0.0.1. This is useful
for running the chat server in containers or VMs where connections
need to come from outside localhost.

Usage:
  simplex-chat -p 5225 --chat-server-host 0.0.0.0

When --chat-server-host is not specified, defaults to 127.0.0.1 for
backwards compatibility. Use 0.0.0.0 to bind to all interfaces.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@AusDavo AusDavo requested a review from epoberezkin as a code owner February 1, 2026 03:42
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@AusDavo
Copy link
Author

AusDavo commented Feb 1, 2026

I have read the CLA Document and I hereby sign the CLA

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.

1 participant

X Tutup