Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hmr client tries to connect to 2123 regardless of --port option #11

Closed
Gozala opened this issue Oct 20, 2015 · 1 comment
Closed

hmr client tries to connect to 2123 regardless of --port option #11

Gozala opened this issue Oct 20, 2015 · 1 comment

Comments

@Gozala
Copy link

Gozala commented Oct 20, 2015

No description provided.

@Macil
Copy link
Owner

Macil commented Oct 20, 2015

The --port option controls what port the local socket server listens on, but it doesn't control what port the bundle tries to connect to. You need to change the --url setting to set that.

In previous versions, the --port option used to be automatically determined from the --url setting, but the number of settings that automagically changed their default values based on other settings was getting pretty confusing and I decided to drop all of those in favor of making the user be explicit. (Making --port affect --url's default makes some sense, but then it seems like there's a misleading parallel for --host. --host can take values like '0.0.0.0' which don't make sense as part of the url.) If the readme doesn't explain this well, please feel free to suggest improvements to it!

@Macil Macil closed this as completed Oct 20, 2015
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

No branches or pull requests

2 participants