Skip to content

fix: bind serve port to localhost#716

Open
vandit98 wants to merge 1 commit into
OpenHands:mainfrom
vandit98:vandit98/706-bind-serve-localhost
Open

fix: bind serve port to localhost#716
vandit98 wants to merge 1 commit into
OpenHands:mainfrom
vandit98:vandit98/706-bind-serve-localhost

Conversation

@vandit98

@vandit98 vandit98 commented May 5, 2026

Copy link
Copy Markdown

Summary

  • Bind the openhands serve Docker port mapping to 127.0.0.1:3000:3000 instead of all host interfaces.
  • Update GUI launcher coverage so the localhost-only mapping is asserted.

Fixes #706

Tests

  • PATH="/Users/vandit/Documents/Codex/2026-05-06/hey-i-need-you-to-run/.tools:$PATH" make lint
  • PATH="/Users/vandit/Documents/Codex/2026-05-06/hey-i-need-you-to-run/.tools:$PATH" make test
  • /Users/vandit/Documents/Codex/2026-05-06/hey-i-need-you-to-run/.tools/uv run --locked pytest tests/test_gui_launcher.py -q
  • /Users/vandit/Documents/Codex/2026-05-06/hey-i-need-you-to-run/.tools/uv run --locked ruff check tests/test_gui_launcher.py
  • /Users/vandit/Documents/Codex/2026-05-06/hey-i-need-you-to-run/.tools/uv run --locked ruff format --check openhands_cli/gui_launcher.py tests/test_gui_launcher.py
  • git diff --check

@vandit98

vandit98 commented May 8, 2026

Copy link
Copy Markdown
Author

Hi, Vandit here. Following up since this has been open since May 6, 2026. The localhost-only port binding change is ready on my side, so I wanted to check whether there’s any review feedback or an expected next step from maintainers.

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for 40 days with no activity. Remove the stale label or leave a comment, otherwise it will be closed in 10 days.

@github-actions github-actions Bot added the Stale label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: openhands serve binds to 0.0.0.0 by default.

1 participant