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

fix(cli/js/net): default listen options changed to 0.0.0.0 from 127.0.0.1, #5144 #5203

Merged
merged 1 commit into from
May 13, 2020

Conversation

itspa1
Copy link
Contributor

@itspa1 itspa1 commented May 10, 2020

changed default from 127.0.0.1 to 0.0.0.0 in cli/js/net, closes #5144

@CLAassistant
Copy link

CLAassistant commented May 10, 2020

CLA assistant check
All committers have signed the CLA.

@shortdiv
Copy link
Contributor

Hey, thanks for the PR!

I was planning on putting a PR in for this one as I'd noted in the issue. In general if you plan on doing work for an issue, please comment in the issue and notify folks before doing so. This makes it clear to everyone that an issue is being worked on, so nobody steps on other's toes. In the future, please refer to the contributing guidelines for best practices

@itspa1
Copy link
Contributor Author

itspa1 commented May 11, 2020

Hey, @shortdiv sorry, this was my first PR and tried to cover most of the guidelines, turns out I did miss one. Sorry again for that and I'll keep that in mind.

@shortdiv
Copy link
Contributor

No matter, we're both working towards the same cause!

Congrats on your first PR! 💪

@itspa1
Copy link
Contributor Author

itspa1 commented May 11, 2020

yea, that is all that matters, working towards the same cause.
Thanks for that!

@bartlomieju
Copy link
Member

@ry we need to decide on this PR before Wednesday. Personally I prefer 127.0.0.1 as default - binding to 0.0.0.0 should be explicit.

@itspa1
Copy link
Contributor Author

itspa1 commented May 12, 2020

@bartlomieju even I prefer the default fallback to be 127.0.0.1 cause it seems more secure. The functionality of Node.Js tho is that it falls back to 0.0.0.0, and I think most people would assume that to be the case. And also the comment in the code seems to point towards the case that default it would fall back to 0.0.0.0

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Deno.ListenOptions hostname defaults to 127.0.0.1 instead of 0.0.0.0
5 participants