Skip to content

Conversation

@tido64
Copy link
Member

@tido64 tido64 commented Nov 5, 2025

Description

Ensure host is set to localhost by default when starting the dev server,
otherwise it will listen to external connections.

Test plan

Start the dev server in packages/test-app/, then run the following command:

% lsof -i -P | grep -i "8081"
node      14144 tido   18u  IPv4 0xf937265a3b363f23      0t0  TCP localhost:8081 (LISTEN)
  • Verify that the address is localhost:8081 and not *:8081.
  • Verify that the bundle is served: curl -v 'http://localhost:8081/index.bundle?platform=ios' &> /dev/null

@github-actions github-actions bot added the feature: cli This is related to CLI label Nov 5, 2025
@tido64 tido64 merged commit 2190a96 into main Nov 5, 2025
25 of 26 checks passed
@tido64 tido64 deleted the tido/cli/set-localhost branch November 5, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: cli This is related to CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants